kopia lustrzana https://github.com/ryukoposting/Signal-Android
Don't show media controls on new pages.
rodzic
4fcdee9fa5
commit
231b55a956
|
@ -152,7 +152,6 @@ class MediaPreviewV2Fragment : LoggingFragment(R.layout.fragment_media_preview_v
|
||||||
super.onPageSelected(position)
|
super.onPageSelected(position)
|
||||||
if (position != viewModel.currentPosition) {
|
if (position != viewModel.currentPosition) {
|
||||||
debouncer.clear()
|
debouncer.clear()
|
||||||
fullscreenHelper.showSystemUI()
|
|
||||||
}
|
}
|
||||||
viewModel.setCurrentPage(position)
|
viewModel.setCurrentPage(position)
|
||||||
}
|
}
|
||||||
|
@ -243,7 +242,6 @@ class MediaPreviewV2Fragment : LoggingFragment(R.layout.fragment_media_preview_v
|
||||||
}
|
}
|
||||||
bindAlbumRail(albumThumbnailMedia, currentItem)
|
bindAlbumRail(albumThumbnailMedia, currentItem)
|
||||||
|
|
||||||
fullscreenHelper.showSystemUI()
|
|
||||||
crossfadeViewIn(binding.mediaPreviewDetailsContainer)
|
crossfadeViewIn(binding.mediaPreviewDetailsContainer)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -449,7 +447,6 @@ class MediaPreviewV2Fragment : LoggingFragment(R.layout.fragment_media_preview_v
|
||||||
|
|
||||||
if (pagerAdapter.getFragmentTag(viewModel.currentPosition) == tag) {
|
if (pagerAdapter.getFragmentTag(viewModel.currentPosition) == tag) {
|
||||||
debouncer.clear()
|
debouncer.clear()
|
||||||
fullscreenHelper.showSystemUI()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue