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()
|
||||
}
|
||||
|
||||
val deleted = deleteFromMediaStore(file)
|
||||
|
||||
if (deleted) {
|
||||
if (deleteFromMediaStore(file)) {
|
||||
reloadViewPager()
|
||||
} else {
|
||||
scanFile(file) {
|
||||
|
|
Loading…
Reference in a new issue