diff --git a/app/src/main/java/com/x8bit/bitwarden/ui/platform/base/util/ModifierExtensions.kt b/app/src/main/java/com/x8bit/bitwarden/ui/platform/base/util/ModifierExtensions.kt index 3d902ff1c..5f0432196 100644 --- a/app/src/main/java/com/x8bit/bitwarden/ui/platform/base/util/ModifierExtensions.kt +++ b/app/src/main/java/com/x8bit/bitwarden/ui/platform/base/util/ModifierExtensions.kt @@ -1,7 +1,6 @@ package com.x8bit.bitwarden.ui.platform.base.util import androidx.compose.foundation.layout.padding -import androidx.compose.material3.DividerDefaults import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.TopAppBarScrollBehavior import androidx.compose.runtime.Composable @@ -71,7 +70,6 @@ fun Modifier.scrolledContainerBottomDivider( this.bottomDivider( alpha = topAppBarScrollBehavior.toScrolledContainerDividerAlpha(), enabled = enabled, - thickness = (0.5).dp, ) /** @@ -83,7 +81,7 @@ fun Modifier.scrolledContainerBottomDivider( fun Modifier.bottomDivider( paddingStart: Dp = 0.dp, paddingEnd: Dp = 0.dp, - thickness: Dp = DividerDefaults.Thickness, + thickness: Dp = (0.5).dp, color: Color = BitwardenTheme.colorScheme.stroke.divider, enabled: Boolean = true, alpha: Float = 1f, diff --git a/app/src/main/java/com/x8bit/bitwarden/ui/platform/components/appbar/BitwardenMediumTopAppBar.kt b/app/src/main/java/com/x8bit/bitwarden/ui/platform/components/appbar/BitwardenMediumTopAppBar.kt index 6adbbad15..dd6f4039f 100644 --- a/app/src/main/java/com/x8bit/bitwarden/ui/platform/components/appbar/BitwardenMediumTopAppBar.kt +++ b/app/src/main/java/com/x8bit/bitwarden/ui/platform/components/appbar/BitwardenMediumTopAppBar.kt @@ -73,7 +73,6 @@ fun BitwardenMediumTopAppBar( TopAppBarDividerStyle.STATIC -> true TopAppBarDividerStyle.ON_SCROLL -> false }, - thickness = (0.5).dp, ), actions = actions, ) diff --git a/app/src/main/java/com/x8bit/bitwarden/ui/platform/components/appbar/BitwardenSearchTopAppBar.kt b/app/src/main/java/com/x8bit/bitwarden/ui/platform/components/appbar/BitwardenSearchTopAppBar.kt index a4b3a3e3a..6e0049490 100644 --- a/app/src/main/java/com/x8bit/bitwarden/ui/platform/components/appbar/BitwardenSearchTopAppBar.kt +++ b/app/src/main/java/com/x8bit/bitwarden/ui/platform/components/appbar/BitwardenSearchTopAppBar.kt @@ -17,7 +17,6 @@ import androidx.compose.ui.graphics.Color import androidx.compose.ui.platform.testTag import androidx.compose.ui.res.stringResource import androidx.compose.ui.text.input.ImeAction -import androidx.compose.ui.unit.dp import com.x8bit.bitwarden.R import com.x8bit.bitwarden.ui.platform.base.util.bottomDivider import com.x8bit.bitwarden.ui.platform.base.util.mirrorIfRtl @@ -49,7 +48,7 @@ fun BitwardenSearchTopAppBar( TopAppBar( modifier = modifier .testTag(tag = "HeaderBarComponent") - .bottomDivider(thickness = (0.5).dp), + .bottomDivider(), colors = bitwardenTopAppBarColors(), scrollBehavior = scrollBehavior, navigationIcon = { diff --git a/app/src/main/java/com/x8bit/bitwarden/ui/platform/components/appbar/BitwardenTopAppBar.kt b/app/src/main/java/com/x8bit/bitwarden/ui/platform/components/appbar/BitwardenTopAppBar.kt index 401c6efab..4291eee46 100644 --- a/app/src/main/java/com/x8bit/bitwarden/ui/platform/components/appbar/BitwardenTopAppBar.kt +++ b/app/src/main/java/com/x8bit/bitwarden/ui/platform/components/appbar/BitwardenTopAppBar.kt @@ -125,7 +125,6 @@ fun BitwardenTopAppBar( TopAppBarDividerStyle.STATIC -> true TopAppBarDividerStyle.ON_SCROLL -> false }, - thickness = (0.5).dp, ) if (titleTextHasOverflow) { diff --git a/app/src/main/java/com/x8bit/bitwarden/ui/platform/components/divider/BitwardenHorizontalDivider.kt b/app/src/main/java/com/x8bit/bitwarden/ui/platform/components/divider/BitwardenHorizontalDivider.kt index ac8497100..4000ece18 100644 --- a/app/src/main/java/com/x8bit/bitwarden/ui/platform/components/divider/BitwardenHorizontalDivider.kt +++ b/app/src/main/java/com/x8bit/bitwarden/ui/platform/components/divider/BitwardenHorizontalDivider.kt @@ -19,7 +19,7 @@ import com.x8bit.bitwarden.ui.platform.theme.BitwardenTheme @Composable fun BitwardenHorizontalDivider( modifier: Modifier = Modifier, - thickness: Dp = 1.dp, + thickness: Dp = (0.5).dp, color: Color = BitwardenTheme.colorScheme.stroke.divider, ) { HorizontalDivider(