Skip to content

Commit

Permalink
example modify test
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Hilgers committed May 27, 2024
1 parent 49a485f commit 6b39047
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class MyComposeTest {
composeTestRule.setContent {
var showWelcome by remember { mutableStateOf(false) }
Column {
Text("Hello")
Button(onClick = { showWelcome = !showWelcome }) { Text("Continue") }
if (showWelcome) {
Text("Welcome")
Expand Down

0 comments on commit 6b39047

Please sign in to comment.