mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-07 07:07:43 +00:00
add more compose previews, and make them work better
This commit is contained in:
parent
1b5a793690
commit
e55b375f90
43 changed files with 425 additions and 193 deletions
|
@ -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 = { },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue