Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1015ddf2 authored by William Xiao's avatar William Xiao
Browse files

Center hub bottom sheet pop-up titles

This is desirable for locales where they overflow to a second line.

Bug: 431812807
Fixes: 431812807
Test: manually verified on device
Flag: NONE minor l10n fix
Change-Id: I2fb2eedbdfea3e8f2157c21ae95a27ee79b69846
parent 0ba6f5a0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -568,6 +568,7 @@ private fun DisclaimerBottomSheetContent(onButtonClicked: () -> Unit) {
            text = stringResource(R.string.communal_widgets_disclaimer_title),
            style = MaterialTheme.typography.headlineMedium,
            color = colors.onSurface,
            textAlign = TextAlign.Center,
        )
        Spacer(modifier = Modifier.height(16.dp))
        Text(
+1 −0
Original line number Diff line number Diff line
@@ -150,6 +150,7 @@ private fun HubOnboardingBottomSheetContent(onButtonClicked: () -> Unit) {
        Text(
            text = stringResource(R.string.hub_onboarding_bottom_sheet_title),
            style = MaterialTheme.typography.headlineMedium,
            textAlign = TextAlign.Center,
        )
        Spacer(modifier = Modifier.height(32.dp))
        // TODO(b/388283881): Replace with correct animations and possibly add a content description