π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][auth] Code clean up
Aman Raj Singh Mourya2101817b23e6
diff --git a/auth/lib/utils/lock_screen_settings.dart b/auth/lib/utils/lock_screen_settings.dartindex 53b087198b..89db3df7ae 100644--- a/auth/lib/utils/lock_screen_settings.dart+++ b/auth/lib/utils/lock_screen_settings.dart@@ -2,8 +2,6 @@ import "dart:convert";import "dart:typed_data";import "package:ente_crypto_dart/ente_crypto_dart.dart";-import "package:flutter/material.dart";-import "package:flutter/scheduler.dart";import "package:flutter_secure_storage/flutter_secure_storage.dart";import "package:privacy_screen/privacy_screen.dart";import "package:shared_preferences/shared_preferences.dart";@@ -41,9 +39,6 @@ class LockScreenSettings {}Future<void> setHideAppContent(bool hideContent) async {- final brightness =- SchedulerBinding.instance.platformDispatcher.platformBrightness;- bool isInDarkMode = brightness == Brightness.dark;!hideContent? PrivacyScreen.instance.disable(): await PrivacyScreen.instance.enable(@@ -53,10 +48,7 @@ class LockScreenSettings {androidOptions: const PrivacyAndroidOptions(enableSecure: true,),- backgroundColor: isInDarkMode ? Colors.black : Colors.white,- blurEffect: isInDarkMode- ? PrivacyBlurEffect.dark- : PrivacyBlurEffect.extraLight,+ blurEffect: PrivacyBlurEffect.extraLight,);await _preferences.setBool(keyHideAppContent, hideContent);}