Merge branch 'open_photo' of gitlab.shinice.net:pixeldroid/PixelDroid into open_photo

This commit is contained in:
Matthieu 2022-06-09 19:34:21 +02:00
commit f3dea49627
1 changed files with 0 additions and 1 deletions

View File

@ -635,7 +635,6 @@ class AlbumViewPagerAdapter(
holder.image.setOnClickListener { holder.image.setOnClickListener {
val windowInsetsController = WindowCompat.getInsetsController((it.context as Activity).window, it) val windowInsetsController = WindowCompat.getInsetsController((it.context as Activity).window, it)
// Configure the behavior of the hidden system bars // Configure the behavior of the hidden system bars
if (isActionBarHidden) { if (isActionBarHidden) {
windowInsetsController.systemBarsBehavior = WindowInsetsControllerCompat.BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE windowInsetsController.systemBarsBehavior = WindowInsetsControllerCompat.BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE
// Hide both the status bar and the navigation bar // Hide both the status bar and the navigation bar