mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-25 19:29:27 +00:00
fix button text in info dialog
This commit is contained in:
parent
e105f39752
commit
589179e626
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@ package helium314.keyboard.settings.dialogs
|
||||||
|
|
||||||
import androidx.compose.material3.Text
|
import androidx.compose.material3.Text
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
|
import androidx.compose.ui.res.stringResource
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun InfoDialog(
|
fun InfoDialog(
|
||||||
|
@ -12,6 +13,7 @@ fun InfoDialog(
|
||||||
ThreeButtonAlertDialog(
|
ThreeButtonAlertDialog(
|
||||||
onDismissRequest = onDismissRequest,
|
onDismissRequest = onDismissRequest,
|
||||||
text = { Text(message) },
|
text = { Text(message) },
|
||||||
|
cancelButtonText = stringResource(android.R.string.ok),
|
||||||
onConfirmed = { },
|
onConfirmed = { },
|
||||||
confirmButtonText = null
|
confirmButtonText = null
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue