add an mUri null check at PhotoVideoActivity

This commit is contained in:
tibbi 2018-06-19 21:04:24 +02:00
parent 603ce170a8
commit ea16e43aa7
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ open class PhotoVideoActivity : SimpleActivity(), ViewPagerFragment.FragmentList
}
override fun onOptionsItemSelected(item: MenuItem): Boolean {
if (mMedium == null) {
if (mMedium == null || mUri == null) {
return true
}