adding a crashfix

This commit is contained in:
tibbi 2022-04-16 15:07:23 +02:00
parent 108ecf3c8c
commit a73bf966b4

View file

@ -1179,7 +1179,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
} }
RenameItemDialog(this, oldPath) { RenameItemDialog(this, oldPath) {
getCurrentMedia()[mPos].apply { getCurrentMedia().getOrNull(mPos)?.apply {
path = it path = it
name = it.getFilenameFromPath() name = it.getFilenameFromPath()
} }