Skip to content

Commit 08a9444

Browse files
committed
fix on remove file operation on finish
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
1 parent a9359c6 commit 08a9444

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2184,6 +2184,11 @@ class FileDisplayActivity :
21842184
return
21852185
}
21862186

2187+
if (!result.isSuccess) {
2188+
Log_OC.e(TAG, "deletion failed")
2189+
return
2190+
}
2191+
21872192
val removedFile = operation.file
21882193
tryStopPlaying(removedFile)
21892194
val leftFragment = this.leftFragment

0 commit comments

Comments
 (0)