mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
One more deleteFile to remove
...now I understand `return@getFileOutputStream`.
This commit is contained in:
@@ -462,7 +462,6 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
|||||||
getFileOutputStream(tmpFile) {
|
getFileOutputStream(tmpFile) {
|
||||||
if (it == null) {
|
if (it == null) {
|
||||||
toast(R.string.unknown_error_occurred)
|
toast(R.string.unknown_error_occurred)
|
||||||
deleteFile(tmpFile) {}
|
|
||||||
return@getFileOutputStream
|
return@getFileOutputStream
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user