-
Notifications
You must be signed in to change notification settings - Fork 26
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
BWA-118 - Tutorial text cut off in landscape mode #299
BWA-118 - Tutorial text cut off in landscape mode #299
Conversation
No New Or Fixed Issues Found |
app/src/main/kotlin/com/bitwarden/authenticator/ui/platform/feature/tutorial/TutorialScreen.kt
Outdated
Show resolved
Hide resolved
modifier = Modifier | ||
.standardHorizontalMargin(landscape = LANDSCAPE_HORIZONTAL_MARGIN) | ||
.fillMaxWidth() | ||
.alpha(if (state.isLastPage) 0f else 1f) |
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 technically still clickable, should we disable it too?
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.
isEnabled = !state.isLastPage,
Won't this prevent click events?
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.
Ohh, I missed that. We should be good
.padding(bottom = 12.dp), | ||
) | ||
|
||
Spacer(modifier = Modifier.navigationBarsPadding()) |
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.
👍
/** | ||
* The custom horizontal margin that is specific to this screen. | ||
*/ | ||
private val LANDSCAPE_HORIZONTAL_MARGIN: Dp = 128.dp |
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.
👍
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #299 +/- ##
===========================
===========================
☔ View full report in Codecov by Sentry. |
🎟️ Tracking
BWA-118
📔 Objective
📸 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