File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
feature/settings/src/main/kotlin/com/ninecraft/booket/feature/settings Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 11package com.ninecraft.booket.feature.settings.component
22
3- import androidx.compose.foundation.layout.Arrangement
43import androidx.compose.foundation.layout.Column
54import androidx.compose.foundation.layout.Row
65import androidx.compose.foundation.layout.fillMaxWidth
@@ -28,9 +27,8 @@ internal fun ToggleItem(
2827 horizontal = ReedTheme .spacing.spacing5,
2928 ),
3029 verticalAlignment = Alignment .CenterVertically ,
31- horizontalArrangement = Arrangement .SpaceBetween ,
3230 ) {
33- Column {
31+ Column (modifier = Modifier .weight( 1f )) {
3432 Text (
3533 text = title,
3634 color = ReedTheme .colors.contentPrimary,
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import androidx.activity.compose.rememberLauncherForActivityResult
1010import androidx.activity.result.contract.ActivityResultContracts
1111import androidx.annotation.RequiresApi
1212import androidx.compose.foundation.background
13- import androidx.compose.foundation.layout.Arrangement
1413import androidx.compose.foundation.layout.Column
1514import androidx.compose.foundation.layout.Row
1615import androidx.compose.foundation.layout.Spacer
@@ -147,9 +146,8 @@ internal fun NotificationGuideItem(
147146 horizontal = ReedTheme .spacing.spacing5,
148147 ),
149148 verticalAlignment = Alignment .CenterVertically ,
150- horizontalArrangement = Arrangement .SpaceBetween ,
151149 ) {
152- Column {
150+ Column (modifier = Modifier .weight( 1f )) {
153151 Text (
154152 text = stringResource(R .string.notification_guide_title),
155153 color = ReedTheme .colors.contentBrand,
You can’t perform that action at this time.
0 commit comments