π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Refactor
ashilknc62a3258ad0d
diff --git a/mobile/lib/utils/lock_screen_settings.dart b/mobile/lib/utils/lock_screen_settings.dartindex f299235a26..2a42b1d930 100644--- a/mobile/lib/utils/lock_screen_settings.dart+++ b/mobile/lib/utils/lock_screen_settings.dart@@ -35,10 +35,10 @@ class LockScreenSettings {/// Workaround to check if "lateinit property activity has not been/// initialized" PlatformException goes away.- await Future.delayed(const Duration(milliseconds: 500));-- ///Workaround for privacyScreen not working when app is killed and opened.- await setHideAppContent(getShouldHideAppContent());+ await Future.delayed(const Duration(milliseconds: 500), () {+ ///Workaround for privacyScreen not working when app is killed and opened.+ setHideAppContent(getShouldHideAppContent());+ });}Future<void> setHideAppContent(bool hideContent) async {