add more compose previews, and make them work better

This commit is contained in:
Helium314 2025-02-28 23:47:11 +01:00
parent 1b5a793690
commit e55b375f90
43 changed files with 425 additions and 193 deletions

View file

@ -27,6 +27,7 @@ import androidx.compose.ui.unit.dp
import androidx.compose.ui.window.Dialog
import androidx.compose.ui.window.DialogProperties
import helium314.keyboard.settings.Theme
import helium314.keyboard.settings.previewDark
@Composable
fun ThreeButtonAlertDialog(
@ -98,7 +99,7 @@ fun ThreeButtonAlertDialog(
@Preview
@Composable
private fun Preview() {
Theme {
Theme(previewDark) {
ThreeButtonAlertDialog(
onDismissRequest = {},
onConfirmed = { },