Skip to content

Commit

Permalink
Fix themeing problem with dark mode toggle switches, checkboxes, and …
Browse files Browse the repository at this point in the history
…expandable icon
  • Loading branch information
willyfromtheblock committed Apr 5, 2024
1 parent 7bc7679 commit 98965c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions devtools_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extensions:
1 change: 0 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ class PeercoinApp extends StatelessWidget {
),
);
}
//TODO themeing problem with dark mode toggle switches when activated
//TODO themeing problem with dark mode checkboxes when activated
//TODO themeing problem with dark mode expandable icon when activated
//TODO add e2e tests for watch only wallet
Expand Down
4 changes: 4 additions & 0 deletions lib/tools/app_themes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ class MyTheme {
textSelectionTheme: TextSelectionThemeData(
cursorColor: DarkColors.white,
),
switchTheme: SwitchThemeData(
thumbColor: MaterialStateProperty.all(DarkColors.white),
trackColor: MaterialStateProperty.all(DarkColors.grey),
),
colorScheme: ColorScheme(
primary: DarkColors.green,
primaryContainer: DarkColors.white,
Expand Down

0 comments on commit 98965c6

Please sign in to comment.