Skip to content

Commit

Permalink
Set sample app starts with 4 default items
Browse files Browse the repository at this point in the history
  • Loading branch information
cheonjaeung committed Oct 14, 2024
1 parent c2fc00f commit 77a6714
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,16 @@ fun SampleScreen() {
MaterialTheme {
var dialog: Dialogs? by remember { mutableStateOf(null) }

var colors: PersistentList<Color> by remember { mutableStateOf(persistentListOf()) }
var colors: PersistentList<Color> by remember {
mutableStateOf(
persistentListOf(
randomColor(),
randomColor(),
randomColor(),
randomColor()
)
)
}

val systemLayoutDirection = LocalLayoutDirection.current
var layoutDirection by remember { mutableStateOf(systemLayoutDirection) }
Expand Down

0 comments on commit 77a6714

Please sign in to comment.