Skip to content

Commit

Permalink
chore: temporarily force light mode
Browse files Browse the repository at this point in the history
Dark mode doesn't render some icons correctly at the moment and in an effort to get an update Quickgui release out light mode the temporarily the only theme.
  • Loading branch information
flexiondotorg committed Jun 26, 2024
1 parent a8ada5a commit c0fcc5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/src/model/app_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ class AppSettings extends ChangeNotifier {
}

set useDarkModeSilently(bool useDarkMode) {
_themeMode = useDarkMode ? ThemeMode.dark : ThemeMode.light;
_themeMode = ThemeMode.light;
//_themeMode = useDarkMode ? ThemeMode.dark : ThemeMode.light;
}

set useDarkMode(bool useDarkMode) {
Expand Down
2 changes: 2 additions & 0 deletions lib/src/widgets/left_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class _LeftMenuState extends State<LeftMenu> with PreferencesMixin {
title: Text("quickgui $_version",
style: Theme.of(context).textTheme.titleLarge),
),
/*
const Divider(),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16),
Expand All @@ -71,6 +72,7 @@ class _LeftMenuState extends State<LeftMenu> with PreferencesMixin {
],
),
),
*/
const Divider(),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16),
Expand Down

0 comments on commit c0fcc5e

Please sign in to comment.