remove a redundant variable
This commit is contained in:
parent
86d9652204
commit
dad7404fdc
1 changed files with 1 additions and 3 deletions
|
@ -212,9 +212,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
||||||
file.delete()
|
file.delete()
|
||||||
}
|
}
|
||||||
|
|
||||||
val deleted = deleteFromMediaStore(file)
|
if (deleteFromMediaStore(file)) {
|
||||||
|
|
||||||
if (deleted) {
|
|
||||||
reloadViewPager()
|
reloadViewPager()
|
||||||
} else {
|
} else {
|
||||||
scanFile(file) {
|
scanFile(file) {
|
||||||
|
|
Loading…
Reference in a new issue