From 3ba8d34d0b8d76579fa0a277b6907d87eb3bfe96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20=C5=BBerko?= Date: Mon, 6 May 2024 11:32:36 +0000 Subject: [PATCH] fix: divider thickness [WPB-3985] (#2971) --- .../kotlin/com/wire/android/ui/common/divider/WireDivider.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/ui-common/src/main/kotlin/com/wire/android/ui/common/divider/WireDivider.kt b/core/ui-common/src/main/kotlin/com/wire/android/ui/common/divider/WireDivider.kt index edd6a0b0ee8..819940d8c22 100644 --- a/core/ui-common/src/main/kotlin/com/wire/android/ui/common/divider/WireDivider.kt +++ b/core/ui-common/src/main/kotlin/com/wire/android/ui/common/divider/WireDivider.kt @@ -18,14 +18,14 @@ package com.wire.android.ui.common.divider +import androidx.compose.material3.DividerDefaults import androidx.compose.material3.HorizontalDivider import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color -import androidx.compose.ui.unit.Dp import com.wire.android.ui.common.colorsScheme @Composable fun WireDivider(color: Color = colorsScheme().divider, modifier: Modifier = Modifier) { - HorizontalDivider(color = color, thickness = Dp.Hairline, modifier = modifier) + HorizontalDivider(color = color, thickness = DividerDefaults.Thickness, modifier = modifier) }