π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
fix: only log-out stop on flag
Prateek Sunal981df6371a3c
diff --git a/mobile/apps/photos/lib/core/configuration.dart b/mobile/apps/photos/lib/core/configuration.dartindex fe34ba0db6..a7aa4d38bc 100644--- a/mobile/apps/photos/lib/core/configuration.dart+++ b/mobile/apps/photos/lib/core/configuration.dart@@ -192,7 +192,9 @@ class Configuration {Future<void> logout({bool autoLogout = false}) async {_logger.info("Logging out, autoLogout: $autoLogout");- VideoPreviewService.instance.stop('logout');+ if (flagService.stopStreamProcess) {+ VideoPreviewService.instance.stop('logout');+ }if (!autoLogout) {if (SyncService.instance.isSyncInProgress()) {SyncService.instance.stopSync();