Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mobile][photos] fix missing media management hint sheet call in delete selection path

Priyanshu Dangare03c2fd5c6cb3
diff --git a/mobile/apps/photos/lib/ui/viewer/actions/file_selection_actions_widget.dart b/mobile/apps/photos/lib/ui/viewer/actions/file_selection_actions_widget.dart
index 8230264e1c..6af764aec0 100644
--- a/mobile/apps/photos/lib/ui/viewer/actions/file_selection_actions_widget.dart
+++ b/mobile/apps/photos/lib/ui/viewer/actions/file_selection_actions_widget.dart
@@ -1097,6 +1097,9 @@ class _FileSelectionActionsWidgetState
onTap: () async {
try {
await deleteFilesOnDeviceOnly(context, filesToDelete);
+ if (mounted) {
+ await showMediaManagementHintSheet(context);
+ }
} catch (e) {
if (mounted) {
await showGenericErrorDialog(context: context, error: e);