mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 20:48:00 +01:00
adding a null check
This commit is contained in:
parent
77e60d8c92
commit
0219848d5a
1 changed files with 1 additions and 1 deletions
|
@ -844,7 +844,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
|||
}
|
||||
}
|
||||
|
||||
bottom_rename.beVisibleIf(visibleBottomActions and BOTTOM_ACTION_RENAME != 0 && !getCurrentMedium()!!.getIsInRecycleBin())
|
||||
bottom_rename.beVisibleIf(visibleBottomActions and BOTTOM_ACTION_RENAME != 0 && getCurrentMedium()?.getIsInRecycleBin() == false)
|
||||
bottom_rename.setOnClickListener {
|
||||
renameFile()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue