Skip to content

fix: Show media when resuming ViewMediaFragment - #174

Merged
nikclayton merged 1 commit into
pachli:mainfrom
nikclayton:161-display-media-on-resume
Oct 15, 2023
Merged

nikclayton merged 1 commit into
pachli:mainfrom
nikclayton:161-display-media-on-resume

Conversation

@nikclayton

Copy link
Copy Markdown
Contributor

Previous code finalised the view setup in onViewCreated, so if you opened some media, switched away from the app, and switched back you'd get a blank screen.

Fix this by doing the finalisation in onResume(), so the media is displayed correctly when returning to the fragment.

Fixes #161

Previous code finalised the view setup in `onViewCreated`, so if you
opened some media, switched away from the app, and switched back
you'd get a blank screen.

Fix this by doing the finalisation in `onResume()`, so the media is
displayed correctly when returning to the fragment.

Fixes pachli#161
@nikclayton
nikclayton merged commit 9cb41d6 into pachli:main Oct 15, 2023
@nikclayton
nikclayton deleted the 161-display-media-on-resume branch October 15, 2023 12:45
@nikclayton nikclayton added this to the 1.3 milestone Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Fullscreen image is not shown when moving back to app

1 participant