From 15074c1945c7910e6099bf1828abba4c625c46d3 Mon Sep 17 00:00:00 2001 From: ashilkn Date: Wed, 16 Oct 2024 15:49:02 +0530 Subject: [PATCH] [mob][photos] Make return type more correct --- mobile/lib/utils/lock_screen_settings.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 init(SharedPreferences prefs) async { _secureStorage = const FlutterSecureStorage(); _preferences = prefs;