File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
core/designsystem/src/main/java/com/threegap/bitnagil/designsystem/component/block Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package com.threegap.bitnagil.designsystem.component.block
22
33import androidx.compose.foundation.layout.Box
44import androidx.compose.foundation.layout.Column
5+ import androidx.compose.foundation.layout.PaddingValues
56import androidx.compose.foundation.layout.Row
67import androidx.compose.foundation.layout.RowScope
78import androidx.compose.foundation.layout.fillMaxWidth
@@ -35,19 +36,15 @@ fun BitnagilTopBar(
3536 .height(54 .dp),
3637 ) {
3738 if (showBackButton) {
38- Box (
39+ BitnagilIconButton (
40+ id = R .drawable.ic_chevron_left_lg,
41+ onClick = onBackClick,
42+ paddingValues = PaddingValues (start = 4 .dp),
43+ tint = BitnagilTheme .colors.coolGray10,
3944 modifier = Modifier
4045 .align(Alignment .CenterStart )
41- .padding(start = 4 .dp)
42- .clickableWithoutRipple { onBackClick() },
43- ) {
44- BitnagilIconButton (
45- id = R .drawable.ic_chevron_left_lg,
46- onClick = onBackClick,
47- modifier = Modifier .size(40 .dp),
48- tint = BitnagilTheme .colors.coolGray10,
49- )
50- }
46+ .size(40 .dp),
47+ )
5148 }
5249
5350 if (title != null ) {
You can’t perform that action at this time.
0 commit comments