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

Commit 10959b9e authored by Josh's avatar Josh
Browse files

Align description in customization dialog to center

Flag: com.android.systemui.keyboard_shortcut_helper_shortcut_customizer
Fix: 387317417
Test: Manual
Change-Id: I262c73a552e726c5ba9b9f09b3d5104ea96d15a8
parent 91044ef2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ import androidx.compose.ui.semantics.contentDescription
import androidx.compose.ui.semantics.liveRegion
import androidx.compose.ui.semantics.semantics
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import com.android.compose.ui.graphics.painter.rememberDrawablePainter
@@ -402,6 +403,7 @@ private fun Description(text: String) {
                .width(316.dp)
                .wrapContentSize(Alignment.Center),
        color = MaterialTheme.colorScheme.onSurfaceVariant,
        textAlign = TextAlign.Center
    )
}