Skip to content

armgit / ente

Public Imported from GitHub
0

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

Show on startup

laurenspriem7ef1bf9359e1
diff --git a/mobile/apps/photos/lib/services/rituals/rituals_service.dart b/mobile/apps/photos/lib/services/rituals/rituals_service.dart
index fc312301c1..6bfbea8fc9 100644
--- a/mobile/apps/photos/lib/services/rituals/rituals_service.dart
+++ b/mobile/apps/photos/lib/services/rituals/rituals_service.dart
@@ -63,6 +63,16 @@ class RitualsService {
_scheduleRefresh();
});
_scheduleRefresh(initial: true, scheduleAllRituals: true);
+ try {
+ final rituals = await _loadRituals();
+ stateNotifier.value = stateNotifier.value.copyWith(
+ loading: false,
+ rituals: rituals,
+ error: null,
+ );
+ } catch (e, s) {
+ _logger.severe("Failed to load rituals during init", e, s);
+ }
}
void dispose() {