update HomeScreen UI by adjusting DailyReviewCard content color and adding spacers in the top bar

This commit is contained in:
jonasgaudian
2026-02-18 00:35:37 +01:00
parent 4cd014957f
commit 9db538bf0a

View File

@@ -100,7 +100,7 @@ fun HomeScreen(
title = stringResource(R.string.label_daily_review), title = stringResource(R.string.label_daily_review),
subtitle = stringResource(R.string.desc_daily_review_due, dueTodayCount), subtitle = stringResource(R.string.desc_daily_review_due, dueTodayCount),
icon = Icons.Default.Psychology, icon = Icons.Default.Psychology,
contentColor = MaterialTheme.colorScheme.onPrimary, contentColor = MaterialTheme.colorScheme.onSurfaceVariant,
onClick = { navController.navigate(NavigationRoutes.DAILY_REVIEW) } onClick = { navController.navigate(NavigationRoutes.DAILY_REVIEW) }
) )
} }
@@ -146,6 +146,9 @@ fun TopProfileSection(navController: NavHostController, context: Context) {
) )
} }
Spacer(modifier = Modifier.width(8.dp))
IconButton( IconButton(
onClick = { navController.navigate(Screen.Settings.route) }, onClick = { navController.navigate(Screen.Settings.route) },
modifier = Modifier modifier = Modifier
@@ -158,6 +161,7 @@ fun TopProfileSection(navController: NavHostController, context: Context) {
tint = MaterialTheme.colorScheme.onSurfaceVariant tint = MaterialTheme.colorScheme.onSurfaceVariant
) )
} }
Spacer(modifier = Modifier.width(8.dp))
} }
} }