mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2024-12-19 03:56:01 +01:00
One more deleteFile to remove
...now I understand `return@getFileOutputStream`.
This commit is contained in:
parent
598eeb154d
commit
4844e2c2d8
@ -462,7 +462,6 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
||||
getFileOutputStream(tmpFile) {
|
||||
if (it == null) {
|
||||
toast(R.string.unknown_error_occurred)
|
||||
deleteFile(tmpFile) {}
|
||||
return@getFileOutputStream
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user