Skip to content

armgit / ente

Public Imported from GitHub
0

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

[auth] Fix theme switch for windows & linux

Neeraj Gupta3a6001701e69
diff --git a/auth/lib/app/view/app.dart b/auth/lib/app/view/app.dart
index 84eea3ba2a..b6ff65001b 100644
--- a/auth/lib/app/view/app.dart
+++ b/auth/lib/app/view/app.dart
@@ -112,7 +112,10 @@ class _AppState extends State<App>
@override
Widget build(BuildContext context) {
- if (Platform.isAndroid || kDebugMode) {
+ if (Platform.isAndroid ||
+ Platform.isWindows ||
+ Platform.isLinux ||
+ kDebugMode) {
return AdaptiveTheme(
light: lightThemeData,
dark: darkThemeData,