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