mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 20:48:00 +01:00
adding a crashfix
This commit is contained in:
parent
108ecf3c8c
commit
a73bf966b4
1 changed files with 1 additions and 1 deletions
|
@ -1179,7 +1179,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
|||
}
|
||||
|
||||
RenameItemDialog(this, oldPath) {
|
||||
getCurrentMedia()[mPos].apply {
|
||||
getCurrentMedia().getOrNull(mPos)?.apply {
|
||||
path = it
|
||||
name = it.getFilenameFromPath()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue