mirror of
https://github.com/BetterAndroid/compose-multiplatform-template.git
synced 2025-09-05 10:15:24 +08:00
style: some tweaks
This commit is contained in:
@@ -72,11 +72,11 @@ fun MainScreen() {
|
|||||||
NecessarySpacer()
|
NecessarySpacer()
|
||||||
Button(
|
Button(
|
||||||
onClick = { greeting = "Hello Jetpack Compose Multiplatform!" }
|
onClick = { greeting = "Hello Jetpack Compose Multiplatform!" }
|
||||||
) { Text(text = "Greeting") }
|
) { Text("Greeting") }
|
||||||
NecessarySpacer()
|
NecessarySpacer()
|
||||||
Button(
|
Button(
|
||||||
onClick = { hideOrShowBars = !hideOrShowBars }
|
onClick = { hideOrShowBars = !hideOrShowBars }
|
||||||
) { Text(text = "Trigger SystemBars") }
|
) { Text("Trigger SystemBars") }
|
||||||
}
|
}
|
||||||
LaunchedEffect(hideOrShowBars) {
|
LaunchedEffect(hideOrShowBars) {
|
||||||
if (hideOrShowBars)
|
if (hideOrShowBars)
|
||||||
|
Reference in New Issue
Block a user