mirror of
https://github.com/ente-io/ente.git
synced 2025-08-07 23:18:10 +00:00
[mob][photos] Refactor
This commit is contained in:
parent
deef7ac290
commit
c62a3258ad
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user