diff --git a/auth/lib/utils/lock_screen_settings.dart b/auth/lib/utils/lock_screen_settings.dart index b857bcc9f5..6b45bc09dc 100644 --- a/auth/lib/utils/lock_screen_settings.dart +++ b/auth/lib/utils/lock_screen_settings.dart @@ -1,6 +1,7 @@ import "dart:convert"; import "dart:typed_data"; +import "package:ente_auth/utils/platform_util.dart"; import "package:ente_crypto_dart/ente_crypto_dart.dart"; import "package:flutter_secure_storage/flutter_secure_storage.dart"; import "package:privacy_screen/privacy_screen.dart"; @@ -39,6 +40,7 @@ class LockScreenSettings { } Future setHideAppContent(bool hideContent) async { + if (PlatformUtil.isDesktop()) return; !hideContent ? PrivacyScreen.instance.disable() : await PrivacyScreen.instance.enable( diff --git a/auth/pubspec.yaml b/auth/pubspec.yaml index 9638b840b2..ced182efb1 100644 --- a/auth/pubspec.yaml +++ b/auth/pubspec.yaml @@ -1,6 +1,6 @@ name: ente_auth description: ente two-factor authenticator -version: 3.1.0+320 +version: 3.1.1+321 publish_to: none environment: