diff --git a/app/src/main/java/com/yovinchen/bookkeeping/ui/components/CategoryPieChart.kt b/app/src/main/java/com/yovinchen/bookkeeping/ui/components/CategoryPieChart.kt index 9a23fb1..a120c8a 100644 --- a/app/src/main/java/com/yovinchen/bookkeeping/ui/components/CategoryPieChart.kt +++ b/app/src/main/java/com/yovinchen/bookkeeping/ui/components/CategoryPieChart.kt @@ -27,7 +27,7 @@ fun CategoryPieChart( modifier: Modifier = Modifier, onCategoryClick: (String) -> Unit = {} ) { - val isDarkTheme = isSystemInDarkTheme() + isSystemInDarkTheme() val textColor = MaterialTheme.colorScheme.onSurface.toArgb() AndroidView(