Skip to content

fix(ios): show the poster on a detail opened from the What to watch widget - #181

Merged
samuelloranger merged 1 commit into
mainfrom
fix/ios-widget-detail-poster
Sep 28, 2026
Merged

samuelloranger merged 1 commit into
mainfrom
fix/ios-widget-detail-poster

Conversation

@samuelloranger

Copy link
Copy Markdown
Owner

Tapping a title on the What to watch widget opens its detail through a rawkoon://media link that carries no poster, and the route was built with posterUrl: nil. The detail hero only used the caller's poster, so it stayed on the gradient placeholder while the backdrop (from TMDB details) loaded.

MediaDetailView now resolves the poster as: caller's poster → admin library item's poster → a libraryItem(id:) fetch when neither exists. The hero and the watchlist/request actions use the resolved value.

Fixed app-side rather than adding a poster to the widget link, so snapshots already written by older builds are covered too.

Verified on macOS: l10n + env-inject checks, swiftformat lint clean, simulator xcodebuild build succeeded.

…idget

The widget deep link carries no poster, so the hero kept its placeholder.
When the caller passes none, fetch the library item's poster.
@samuelloranger
samuelloranger merged commit 357800e into main Sep 28, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant