Browse Source

Fix

Signed-off-by: alperozturk <alper_ozturk@proton.me>
alperozturk 10 months ago
parent
commit
85e4de6220

+ 1 - 0
app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaActivity.kt

@@ -549,6 +549,7 @@ class PreviewMediaActivity :
             }
 
             R.id.action_remove_file -> {
+                exoPlayer?.stop()
                 val dialog = RemoveFilesDialogFragment.newInstance(file)
                 dialog.show(supportFragmentManager, ConfirmationDialogFragment.FTAG_CONFIRMATION)
             }