-
-
Notifications
You must be signed in to change notification settings - Fork 313
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: Made the notification bar of the scanner transluent #4611
Conversation
Hi @sm-sayedi! |
@monsieurtanuki So it means this PR is postponed until the project is migrated to Futter 3.13, am I right?! |
@sm-sayedi That's correct. |
@monsieurtanuki I have updated my PR. Just the file related to the bug is included. |
Thank you @sm-sayedi for your code change! @teolemon Would you please check that the screenshots match you expectations? (especially the After / Normal one). |
@sm-sayedi I think I've finally understood what is needed, and it looks like #4606 (comment). |
@monsieurtanuki So it means that the visual result should be the same but by using the |
@sm-sayedi It means that:
|
@sm-sayedi From what I've understood in #4615, the problem is slightly different. On light mode, the status bar is already translucent, because the standard background is white (more or less). The solution is to:
Do you feel like coding it? I can do it if needed. For the record, that's an example of a translucent top bar in dark mode - as you see, we need to switch back to a dark color for the bottom of the body: |
@monsieurtanuki Thanks for describing the situation! For now I want to do something like this: Container(
color: Colors.white, // For making the status bar translucent
child: SafeArea(
child: Container(
color: Theme.of(context).colorScheme.background, // For making the body dark again
child: Column( Now the problem is that I don't exacly know what is the proper ![]() Which is slightly different from the color that the dark mode applies by default: ![]() As you can see, the |
@sm-sayedi Indeed |
@monsieurtanuki It's done! The screenshots are also updated! |
Codecov Report
@@ Coverage Diff @@
## develop #4611 +/- ##
===========================================
- Coverage 10.14% 10.14% -0.01%
===========================================
Files 299 299
Lines 15686 15689 +3
===========================================
Hits 1591 1591
- Misses 14095 14098 +3
📣 We’re building smart automated test selection to slash your CI/CD build times. 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.
Thank you @sm-sayedi for your first contribution! Congratulations!
Thank you @monsieurtanuki and @teolemon! It was my first open-source contribution ever, and it was awesome to start with smooth-app!! |
What
Screenshots
Before
After
Fixes bug(s)
Impacted Files
scan_page.dart