Repository navigation
Conversation
|
|
|
[diff-counting] Significant lines: 259. |
jjasonguo
left a comment
There was a problem hiding this comment.
Looks good check my one comment
| // TODO: testing purposes only, remove later | ||
| if (kDebugMode) { | ||
| WidgetsBinding.instance.addPostFrameCallback((_) async { | ||
| if (!mounted) return; |
There was a problem hiding this comment.
Looks great Selina. Last thing would be to determine the frequency we want to show this pop-up, maybe if they don't want notifications we shouldn't bother them every single time they open the app. Additionally, when notifications ARE turned on, the popup still appears. There should be a way to see if they turned them on already.
ambers7
left a comment
There was a problem hiding this comment.
Good job Selina! Make sure that you're using colors from game/lib/constants/colors.dart instead of hardcoding them. It might also be good to add a quick description of what CTA means in the documentation.
Summary
This pull request implements a reusable pop-up widget that displays an envelope-style notification with configurable text
Test Plan
popui.dont.miss.out.mp4