Add launch configuration, update API keys, and refactor UI components for better structure and performance
This commit is contained in:
1 parent
29141ba8b2
commit
797f77cf69
16 files changed
+371
-351
No files matched your search
@@ -8,7 +8,7 @@ class ThemeProvider extends ChangeNotifier {
|
||||
|
||||
bool get isDarkMode {
|
||||
if (_themeMode == ThemeMode.system) {
|
||||
return WidgetsBinding.instance.window.platformBrightness ==
|
||||
return WidgetsBinding.instance.platformDispatcher.platformBrightness ==
|
||||
Brightness.dark;
|
||||
}
|
||||
return _themeMode == ThemeMode.dark;
|
||||
|
||||
Reference in new issue
Block a user