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()
|
checkDeleteConfirmation()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bottom_rotate.beVisibleIf(config.visibleBottomActions and BOTTOM_ACTION_ROTATE != 0 && getCurrentMedium()?.isImage() == true)
|
||||||
bottom_rotate.setOnLongClickListener { toast(R.string.rotate); true }
|
bottom_rotate.setOnLongClickListener { toast(R.string.rotate); true }
|
||||||
bottom_rotate.setOnClickListener {
|
bottom_rotate.setOnClickListener {
|
||||||
rotateImage(90)
|
rotateImage(90)
|
||||||
|
|
Loading…
Reference in a new issue