mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix: set opaque background for SimpleAlertDialog
This commit is contained in:
parent
4f0652ad9f
commit
056f6b28cf
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package com.geeksville.mesh.ui.components
|
||||
|
||||
import androidx.annotation.StringRes
|
||||
import androidx.compose.foundation.background
|
||||
import androidx.compose.foundation.layout.fillMaxWidth
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.foundation.shape.RoundedCornerShape
|
||||
|
|
@ -35,6 +36,7 @@ fun SimpleAlertDialog(
|
|||
),
|
||||
) { Text(text = stringResource(id = R.string.close)) }
|
||||
},
|
||||
modifier = Modifier.background(MaterialTheme.colors.background.copy(alpha = 1f)),
|
||||
title = {
|
||||
Text(
|
||||
text = stringResource(id = title),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue