Skip to content

Commit 7ff1342

Browse files
committed
fix: remove column horizontal padding
1 parent 6b08c70 commit 7ff1342

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

app/src/main/java/to/bitkit/ui/screens/wallets/receive/ReceiveQrScreen.kt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import androidx.compose.foundation.gestures.snapping.rememberSnapFlingBehavior
88
import androidx.compose.foundation.layout.Arrangement
99
import androidx.compose.foundation.layout.Box
1010
import androidx.compose.foundation.layout.Column
11+
import androidx.compose.foundation.layout.PaddingValues
1112
import androidx.compose.foundation.layout.Row
1213
import androidx.compose.foundation.layout.Spacer
1314
import androidx.compose.foundation.layout.fillMaxHeight
@@ -191,9 +192,7 @@ fun ReceiveQrScreen(
191192
.keepScreenOn()
192193
) {
193194
SheetTopBar(stringResource(R.string.wallet__receive_bitcoin))
194-
Column(
195-
modifier = Modifier.padding(horizontal = 16.dp)
196-
) {
195+
Column {
197196
Spacer(Modifier.height(16.dp))
198197

199198
// Tab row
@@ -207,7 +206,8 @@ fun ReceiveQrScreen(
207206
scope.launch {
208207
lazyListState.animateScrollToItem(newIndex)
209208
}
210-
}
209+
},
210+
modifier = Modifier.padding(horizontal = 16.dp)
211211
)
212212

213213
Spacer(Modifier.height(24.dp))
@@ -217,6 +217,7 @@ fun ReceiveQrScreen(
217217
state = lazyListState,
218218
flingBehavior = snapBehavior,
219219
horizontalArrangement = Arrangement.spacedBy(16.dp),
220+
contentPadding = PaddingValues(horizontal = 16.dp),
220221
userScrollEnabled = true,
221222
modifier = Modifier
222223
.weight(1f)

0 commit comments

Comments
 (0)