-
Notifications
You must be signed in to change notification settings - Fork 842
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
Clean up the generator screen and handlers #4270
Conversation
) { | ||
BitwardenTopAppBar( | ||
title = stringResource(id = R.string.generator), | ||
navigationIcon = rememberVectorPainter(id = R.drawable.ic_close), | ||
navigationIconContentDescription = stringResource(id = R.string.close), | ||
onNavigationIconClick = onCloseClick, | ||
scrollBehavior = scrollBehavior, | ||
dividerStyle = when (generatorMode) { | ||
GeneratorMode.Modal.Password -> TopAppBarDividerStyle.NONE | ||
is GeneratorMode.Modal.Username -> TopAppBarDividerStyle.ON_SCROLL |
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 is the only change that affects the UI, previously, the divider would appear on the top app bar and the segmented control and it should only be on the segmented control.
5de6306
to
72e75fa
Compare
No New Or Fixed Issues Found |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4270 +/- ##
=======================================
Coverage 88.97% 88.98%
=======================================
Files 445 452 +7
Lines 38887 38913 +26
Branches 5468 5469 +1
=======================================
+ Hits 34601 34627 +26
Misses 2369 2369
Partials 1917 1917 ☔ View full report in Codecov by Sentry. |
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.
72e75fa
to
c1b1875
Compare
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.
Thanks @dseverns-livefront |
🎟️ Tracking
N/A
📔 Objective
This PR moves all of the handler classes from the
GeneratorScreen
and into their own files.Some other small changes were made to the
GeneratorScreen
but none affect the app functionality.There is one minor UI update, the divider line is no longer displayed when in the generator modal and the segmented control is present.
⏰ 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 confirmedissue 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