Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix app stuck on splash screen when auto-logout triggers on startup

ashilknf427f38ffdef
diff --git a/mobile/apps/photos/lib/core/configuration.dart b/mobile/apps/photos/lib/core/configuration.dart
index a7aa4d38bc..fc1cc0497f 100644
--- a/mobile/apps/photos/lib/core/configuration.dart
+++ b/mobile/apps/photos/lib/core/configuration.dart
@@ -192,10 +192,10 @@ class Configuration {
Future<void> logout({bool autoLogout = false}) async {
_logger.info("Logging out, autoLogout: $autoLogout");
- if (flagService.stopStreamProcess) {
- VideoPreviewService.instance.stop('logout');
- }
if (!autoLogout) {
+ if (flagService.stopStreamProcess) {
+ VideoPreviewService.instance.stop('logout');
+ }
if (SyncService.instance.isSyncInProgress()) {
SyncService.instance.stopSync();
try {
diff --git a/mobile/apps/photos/scripts/internal_changes.txt b/mobile/apps/photos/scripts/internal_changes.txt
index ad38070ef1..bf28c2266e 100644
--- a/mobile/apps/photos/scripts/internal_changes.txt
+++ b/mobile/apps/photos/scripts/internal_changes.txt
@@ -1,3 +1,4 @@
+- Ashil: Fix app getting stuck in splash screen when opening app after migrating to new device
- Ashil: QOL: Fix home gallery getting cut on the right end on landscape mode (affects tablets)
- Ashil: QOL: Fix uncategorized page not updating after move
- Ashil: QOL: Pause video when using jump to date