fix: 修复警告

This commit is contained in:
yovinchen 2024-11-28 14:35:10 +08:00
parent f134304646
commit 76d0286883

View File

@ -27,7 +27,7 @@ fun CategoryPieChart(
modifier: Modifier = Modifier, modifier: Modifier = Modifier,
onCategoryClick: (String) -> Unit = {} onCategoryClick: (String) -> Unit = {}
) { ) {
val isDarkTheme = isSystemInDarkTheme() isSystemInDarkTheme()
val textColor = MaterialTheme.colorScheme.onSurface.toArgb() val textColor = MaterialTheme.colorScheme.onSurface.toArgb()
AndroidView( AndroidView(