Skip to content

Commit

Permalink
fix: divider thickness [WPB-3985] (#2971)
Browse files Browse the repository at this point in the history
  • Loading branch information
Garzas authored and github-actions[bot] committed May 6, 2024
1 parent 3ed5453 commit 3ba8d34
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 3ba8d34

Please sign in to comment.