mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 14:37:59 +01:00
make sure the bottom action Rotate button is visible only when appropriate
This commit is contained in:
parent
fe0f377aa8
commit
1bbfd7484e
1 changed files with 1 additions and 0 deletions
|
@ -802,6 +802,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
|||
checkDeleteConfirmation()
|
||||
}
|
||||
|
||||
bottom_rotate.beVisibleIf(config.visibleBottomActions and BOTTOM_ACTION_ROTATE != 0 && getCurrentMedium()?.isImage() == true)
|
||||
bottom_rotate.setOnLongClickListener { toast(R.string.rotate); true }
|
||||
bottom_rotate.setOnClickListener {
|
||||
rotateImage(90)
|
||||
|
|
Loading…
Reference in a new issue