remove a redundant variable

This commit is contained in:
tibbi 2016-12-07 20:51:22 +01:00
parent 86d9652204
commit dad7404fdc

View file

@ -212,9 +212,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
file.delete()
}
val deleted = deleteFromMediaStore(file)
if (deleted) {
if (deleteFromMediaStore(file)) {
reloadViewPager()
} else {
scanFile(file) {