Skip to content

armgit / ente

Public Imported from GitHub
0

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

Show toast when starting backup with latest photos

Prateek Sunal61ec787c26d8
diff --git a/mobile/apps/photos/lib/ui/home/grant_permissions_widget.dart b/mobile/apps/photos/lib/ui/home/grant_permissions_widget.dart
index cbea3ec0af..a18c311139 100644
--- a/mobile/apps/photos/lib/ui/home/grant_permissions_widget.dart
+++ b/mobile/apps/photos/lib/ui/home/grant_permissions_widget.dart
@@ -9,6 +9,7 @@ import "package:photos/l10n/l10n.dart";
import "package:photos/service_locator.dart";
import 'package:photos/services/sync/sync_service.dart';
import "package:photos/theme/ente_theme.dart";
+import "package:photos/ui/notification/toast.dart";
import "package:photos/utils/dialog_util.dart";
import 'package:photos/utils/standalone/debouncer.dart';
import "package:styled_text/styled_text.dart";
@@ -133,6 +134,9 @@ class _GrantPermissionsWidgetState extends State<GrantPermissionsWidget> {
state,
shouldMarkLimitedFolders: false,
);
+ if (mounted) {
+ showToast(context, "Backing up last 7 day's photos");
+ }
} else {
await _showPermissionDeniedDialog();
}