-
Notifications
You must be signed in to change notification settings - Fork 121
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
Dev #315
Dev #315
Conversation
Hey, @Pavel401 I remove the flushBar from earlier since it caused and issue with adding the task, it didn't close it if the flush bar was still on screen for its 2 seconds, and I just made do with the snackBar instead. |
Hi @Sabra-xD, thank you for submitting the PR. By the way, could you replace the dialog with a snack bar on the task server page? In most places, we use Snackbar throughout the app, so it would be great if the new one matched. Also, please make sure that the snack bar matches the theme of the app, both in dark and light mode. Thank you! |
@Pavel401 Done. |
Hey @Pavel401 I have added the solution for the most recent issue to the PR. |
From next time please send multiple PRs for each issue. @Sabra-xD |
Description
A notifier needed to be displayed for the user in a snackBar.
Wrapped the AlertDialog of add_Task with a Scaffold, so the snackBar's ScaffoldMessanger can locate it and displayed the message.
Also, highlighted the due time to be in red when the time selected is in the past.
AlertDialog is being displayed if the user haven't set up a TaskServer.
Fixes #(314 & 308 & 316)
Screenshots
Checklist