One more deleteFile to remove
...now I understand `return@getFileOutputStream`.
This commit is contained in:
parent
598eeb154d
commit
4844e2c2d8
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue