Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingermainbusiness committed Jun 5, 2022
1 parent af66232 commit 2a9f573
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,20 @@ Scaffold(
subtitle = { Text(text = "17 contacts") },
)
},
) {
) { innerPadding ->
LazyColumn(
modifier = Modifier.background(MaterialTheme.colorScheme.background),
contentPadding = innerPadding,
verticalArrangement = Arrangement.spacedBy(8.dp)
) {
val context = LocalContext.current
val contactNames = context.resources.getStringArray(R.array.contactNames)
item {
Spacer(modifier = Modifier.height(6.dp))
}
items(count = contactNames.size) {
ContactListNames(context, contactNames[it])
ContactListNames(
context = LocalContext.current,
contactName = contactNames[it]
)
}
}
}
Expand Down

0 comments on commit 2a9f573

Please sign in to comment.