mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 14:37:59 +01:00
fix #668, properly handle Instant media change with Aspect Ratio rotation
This commit is contained in:
parent
7289d0a8ea
commit
72ffa243a5
1 changed files with 2 additions and 0 deletions
|
@ -859,10 +859,12 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
||||||
|
|
||||||
override fun goToPrevItem() {
|
override fun goToPrevItem() {
|
||||||
view_pager.setCurrentItem(view_pager.currentItem - 1, false)
|
view_pager.setCurrentItem(view_pager.currentItem - 1, false)
|
||||||
|
checkOrientation()
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun goToNextItem() {
|
override fun goToNextItem() {
|
||||||
view_pager.setCurrentItem(view_pager.currentItem + 1, false)
|
view_pager.setCurrentItem(view_pager.currentItem + 1, false)
|
||||||
|
checkOrientation()
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun checkSystemUI() {
|
private fun checkSystemUI() {
|
||||||
|
|
Loading…
Reference in a new issue