Merge branch 'open_photo' of gitlab.shinice.net:pixeldroid/PixelDroid into open_photo
This commit is contained in:
commit
f3dea49627
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue