-
Notifications
You must be signed in to change notification settings - Fork 927
Remove night-mode icon variants where possible #6066
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
Conversation
| android:height="24dp" | ||
| android:viewportWidth="24" | ||
| android:viewportHeight="24"> | ||
| <group> |
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.
This icon was never used.
| // This is unspecified because selected icons are multi-tonal. | ||
| Color.Unspecified | ||
| } else { | ||
| BitwardenTheme.colorScheme.icon.primary |
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.
This will also help with dynamic colors, since the unselected icons were not being tinted previously.
The selected icons multi-tonal and are tinted via the rememberVectorDrawable function.
|
Great job! No new security vulnerabilities introduced in this pull request |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6066 +/- ##
==========================================
+ Coverage 84.23% 84.79% +0.55%
==========================================
Files 829 720 -109
Lines 57359 55051 -2308
Branches 7699 7654 -45
==========================================
- Hits 48319 46678 -1641
+ Misses 6345 5693 -652
+ Partials 2695 2680 -15 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Thanks @SaintPatrck |

🎟️ Tracking
N/A
📔 Objective
This PR simplifies the navigation icons by removing the night-mode variants and relying on tinting where possible.
📸 Screenshots
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:) or similar for great changes:memo:) or ℹ️ (:information_source:) for notes or general info:question:) for questions:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:) for suggestions / improvements:x:) or:warning:) for more significant problems or concerns needing attention:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt:pick:) for minor or nitpick changes