Skip to content

Commit

Permalink
Merge pull request #21 from kosenda/feature/add-sample-screen-feat
Browse files Browse the repository at this point in the history
feature: add feat in Sample Screen - 2
  • Loading branch information
kosenda committed Dec 9, 2023
2 parents cce1a5b + 1b219dc commit 99719f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/src/main/java/ksnd/autosizetable/SampleScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ fun SampleScreen() {
content = List(NUM_OF_ITEMS_IN_EACH_COLUMN) { columnId ->
List(NUM_OF_ITEMS_IN_EACH_ROW) { rowId ->
{
when (rowId) {
0 -> Column {
if (rowId == 0 && columnId % 2 == 0) {
Column {
repeat(numMailColumnIcons) {
Row {
repeat(numMailRowIcons) {
Expand All @@ -104,8 +104,8 @@ fun SampleScreen() {
}
}
}

else -> Text(
} else {
Text(
text = "rowId: $rowId \ncolumnId: $columnId",
modifier = Modifier.padding(8.dp),
fontWeight = if (columnId < type[typeIndex].first) {
Expand Down

0 comments on commit 99719f4

Please sign in to comment.