Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: disable privacy screen on debug mode

Prateek Sunal17ad0a97d3f6
diff --git a/auth/lib/main.dart b/auth/lib/main.dart
index 09b85d8b35..1ac7bfd814 100644
--- a/auth/lib/main.dart
+++ b/auth/lib/main.dart
@@ -156,7 +156,7 @@ Future<void> _init(bool bool, {String? via}) async {
}
Future<void> _setupPrivacyScreen() async {
- if (!PlatformUtil.isMobile()) return;
+ if (!PlatformUtil.isMobile() || kDebugMode) return;
final brightness =
SchedulerBinding.instance.platformDispatcher.platformBrightness;
bool isInDarkMode = brightness == Brightness.dark;