Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Fix black screen issue when deleting a file after opening it

ashilknf03cb6e9f1e8
diff --git a/mobile/lib/ui/actions/file/file_actions.dart b/mobile/lib/ui/actions/file/file_actions.dart
index 24df5409cd..03f8a2d3ac 100644
--- a/mobile/lib/ui/actions/file/file_actions.dart
+++ b/mobile/lib/ui/actions/file/file_actions.dart
@@ -101,7 +101,7 @@ Future<void> showSingleFileDeleteSheet(
isInAlert: true,
onTap: () async {
await deleteFilesFromEverywhere(context, [file]);
- Navigator.of(context, rootNavigator: true).pop();
+ Navigator.of(context).pop();
if (onFileRemoved != null) {
onFileRemoved(file);
}