Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][auth] Used better names

Aman Raj Singh Mouryaeb568080dd38
diff --git a/auth/lib/utils/lock_screen_settings.dart b/auth/lib/utils/lock_screen_settings.dart
index 100bd3434a..38c425a025 100644
--- a/auth/lib/utils/lock_screen_settings.dart
+++ b/auth/lib/utils/lock_screen_settings.dart
@@ -42,10 +42,12 @@ class LockScreenSettings {
///Workaround for privacyScreen not working when app is killed and opened.
await setHideAppContent(getShouldHideAppContent());
- await setHasMigratedLockScreenChanges();
+ /// Function to Check if the migration for lock screen changes has
+ /// already been done by checking a stored boolean value.
+ await runLockScreenChangesMigration();
}
- Future<void> setHasMigratedLockScreenChanges() async {
+ Future<void> runLockScreenChangesMigration() async {
if (_preferences.getBool(keyHasMigratedLockScreenChanges) != null) {
return;
}