One more deleteFile to remove

...now I understand `return@getFileOutputStream`.
This commit is contained in:
Guillaume 2017-11-03 22:00:28 +01:00 committed by GitHub
parent 598eeb154d
commit 4844e2c2d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}