mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-01-04 12:30:34 +01:00
fix #668, properly handle Instant media change with Aspect Ratio rotation
This commit is contained in:
parent
7289d0a8ea
commit
72ffa243a5
@ -859,10 +859,12 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
||||
|
||||
override fun goToPrevItem() {
|
||||
view_pager.setCurrentItem(view_pager.currentItem - 1, false)
|
||||
checkOrientation()
|
||||
}
|
||||
|
||||
override fun goToNextItem() {
|
||||
view_pager.setCurrentItem(view_pager.currentItem + 1, false)
|
||||
checkOrientation()
|
||||
}
|
||||
|
||||
private fun checkSystemUI() {
|
||||
|
Loading…
Reference in New Issue
Block a user