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

Commit f901b91e authored by SongFerng Wang's avatar SongFerng Wang Committed by Android (Google) Code Review
Browse files

Merge "Add the clickable for button at SuwScaffold" into main

parents 5cad74f6 05d9c9a0
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -40,7 +40,8 @@ import com.android.settingslib.spa.framework.theme.toMediumWeight

data class BottomAppBarButton(
    val text: String,
    val onClick: () -> Unit,
    val enabled: Boolean = true,
    val onClick: () -> Unit
)

@Composable
@@ -122,13 +123,13 @@ private fun BottomBar(
) {
    Row(modifier = Modifier.padding(SettingsDimension.itemPaddingAround)) {
        dismissButton?.apply {
            TextButton(onClick) {
            TextButton(onClick = onClick, enabled = enabled) {
                ActionText(text)
            }
        }
        Spacer(modifier = Modifier.weight(1f))
        actionButton?.apply {
            Button(onClick) {
            Button(onClick = onClick, enabled = enabled) {
                ActionText(text)
            }
        }