From dad3d6528b9578c8fd7da7539fd34cad0075ff13 Mon Sep 17 00:00:00 2001 From: Siddharth Agarwal Date: Wed, 14 Aug 2024 16:25:27 +0530 Subject: [PATCH] Fix lint error --- .../mobile/ui/designsystem/component/OrgBottomSheet.kt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/OrgBottomSheet.kt b/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/OrgBottomSheet.kt index f25b0a5e7..9cc60e31c 100644 --- a/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/OrgBottomSheet.kt +++ b/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/OrgBottomSheet.kt @@ -30,7 +30,6 @@ import androidx.compose.runtime.setValue import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color -import androidx.compose.ui.graphics.painter.Painter import androidx.compose.ui.graphics.vector.rememberVectorPainter import androidx.compose.ui.layout.onGloballyPositioned import androidx.compose.ui.platform.LocalDensity @@ -286,28 +285,28 @@ fun OrgUnitSelectorItem( @Composable private fun OrgTreeItemIcon( modifier: Modifier = Modifier, - orgTreeItem: OrgTreeItem + orgTreeItem: OrgTreeItem, ) { if (!orgTreeItem.hasChildren) { Icon( modifier = modifier, painter = provideDHIS2Icon("material_circle_outline"), contentDescription = null, - tint = TextColor.OnDisabledSurface + tint = TextColor.OnDisabledSurface, ) } else if (orgTreeItem.isOpen) { Icon( modifier = modifier, painter = rememberVectorPainter(Icons.Filled.KeyboardArrowDown), contentDescription = null, - tint = TextColor.OnDisabledSurface + tint = TextColor.OnDisabledSurface, ) } else { Icon( modifier = modifier, painter = rememberVectorPainter(Icons.AutoMirrored.Filled.KeyboardArrowRight), contentDescription = null, - tint = TextColor.OnSurfaceVariant + tint = TextColor.OnSurfaceVariant, ) } }