Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mobile][photos] clean up notification permission preference

Priyanshu Dangare8daaa0b4cee2
diff --git a/mobile/apps/photos/lib/services/notification_service.dart b/mobile/apps/photos/lib/services/notification_service.dart
index f6dd806012..e27a673a87 100644
--- a/mobile/apps/photos/lib/services/notification_service.dart
+++ b/mobile/apps/photos/lib/services/notification_service.dart
@@ -34,6 +34,7 @@ class NotificationService {
void init(SharedPreferences preferences) {
_preferences = preferences;
+ unawaited(preferences.remove("notification_permission_granted"));
}
bool timezoneInitialized = false;