update HomeScreen UI by adjusting DailyReviewCard content color and adding spacers in the top bar
This commit is contained in:
@@ -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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user