Skip to content

Commit

Permalink
Don't show media controls on new pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-signal authored and cody-signal committed Jan 19, 2023
1 parent 4fcdee9 commit 231b55a
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ class MediaPreviewV2Fragment : LoggingFragment(R.layout.fragment_media_preview_v
super.onPageSelected(position)
if (position != viewModel.currentPosition) {
debouncer.clear()
fullscreenHelper.showSystemUI()
}
viewModel.setCurrentPage(position)
}
Expand Down Expand Up @@ -243,7 +242,6 @@ class MediaPreviewV2Fragment : LoggingFragment(R.layout.fragment_media_preview_v
}
bindAlbumRail(albumThumbnailMedia, currentItem)

fullscreenHelper.showSystemUI()
crossfadeViewIn(binding.mediaPreviewDetailsContainer)
}

Expand Down Expand Up @@ -449,7 +447,6 @@ class MediaPreviewV2Fragment : LoggingFragment(R.layout.fragment_media_preview_v

if (pagerAdapter.getFragmentTag(viewModel.currentPosition) == tag) {
debouncer.clear()
fullscreenHelper.showSystemUI()
}
}

Expand Down

0 comments on commit 231b55a

Please sign in to comment.