-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix dark theme dialog colors. #569
Conversation
On Android picking only reminder times in an half-hour interval was broken. Instead a user could pick any time. By using `package:interval_time_picker` this issue is now fixed an users can again only pick reminder times in an half-hour interval.
By using `ColorScheme.fromSwatch().copyWith(...)` the `ColorScheme` was tailored to light-mode which caused some dialogs to be displayed in the wrong colors when using dark mode. Specifying the `Brightness` inside `ColorScheme.fromSeed` fixed this issue.
Visit the preview URL for this PR (updated for commit 3ad69f7): https://sharezone-test--pr569-fix-dark-theme-dialo-iteuv403.web.app (expires Sun, 16 Apr 2023 21:39:31 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 4cb3ae61e1e018abfd9841fd3239f5b49ccc034b |
This PR also fixes #384 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The only thing that I have seen was that the snackbar text has the wrong color in dark mode
@@ -72,6 +72,7 @@ class SignInWithAppleButton extends StatelessWidget { | |||
child: Icon( | |||
FontAwesomeIcons.apple, | |||
size: 26, | |||
color: Colors.white, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As you can see in your last screen shot the icon was not completely white. I didn't find see this for the other icons in the app though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
By using
ColorScheme.fromSwatch().copyWith(...)
theColorScheme
was tailored to light-mode which caused some dialogs to be displayed in the wrong colors when using dark mode.Specifying the
Brightness
insideColorScheme.fromSeed
fixed this issue.Fixes #167
Fixes #168
Fixes #169
Fixes #384
Fixes #496