Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Make return type more correct

ashilkn15074c1945c7
diff --git a/mobile/lib/utils/lock_screen_settings.dart b/mobile/lib/utils/lock_screen_settings.dart
index 2912e60ea5..f299235a26 100644
--- a/mobile/lib/utils/lock_screen_settings.dart
+++ b/mobile/lib/utils/lock_screen_settings.dart
@@ -29,7 +29,7 @@ class LockScreenSettings {
Duration(minutes: 5),
Duration(minutes: 30),
];
- void init(SharedPreferences prefs) async {
+ Future<void> init(SharedPreferences prefs) async {
_secureStorage = const FlutterSecureStorage();
_preferences = prefs;