Skip to content

Commit 2b69941

Browse files
committed
chore: lint
1 parent a3fd333 commit 2b69941

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ fun ReceiveQrScreen(
117117
walletState.bolt11,
118118
walletState.onchainAddress,
119119
cjitInvoice,
120-
lightningState.nodeLifecycleState
120+
lightningState.nodeLifecycleState,
121121
) {
122122
visibleTabs.associateWith { tab ->
123123
getInvoiceForTab(
@@ -126,7 +126,7 @@ fun ReceiveQrScreen(
126126
bolt11 = walletState.bolt11,
127127
cjitInvoice = cjitInvoice,
128128
isNodeRunning = lightningState.nodeLifecycleState.isRunning(),
129-
onchainAddress = walletState.onchainAddress
129+
onchainAddress = walletState.onchainAddress,
130130
)
131131
}
132132
}
@@ -137,7 +137,7 @@ fun ReceiveQrScreen(
137137

138138
val snapBehavior = rememberSnapFlingBehavior(
139139
lazyListState = lazyListState,
140-
snapPosition = SnapPosition.Center
140+
snapPosition = SnapPosition.Center,
141141
)
142142

143143
// Calculate current tab based on scroll position for smooth indicator and color updates
@@ -306,7 +306,7 @@ fun ReceiveQrScreen(
306306
Icon(
307307
painter = painterResource(R.drawable.ic_lightning_alt),
308308
tint = Colors.Purple,
309-
contentDescription = null
309+
contentDescription = null,
310310
)
311311
},
312312
onClick = {
@@ -407,7 +407,7 @@ private fun ReceiveQrView(
407407
Box(modifier = Modifier.weight(1f)) {
408408
Tooltip(
409409
text = stringResource(R.string.wallet__receive_copied),
410-
tooltipState = qrButtonTooltipState
410+
tooltipState = qrButtonTooltipState,
411411
) {
412412
PrimaryButton(
413413
text = stringResource(R.string.common__copy),
@@ -457,11 +457,11 @@ private fun ReceiveQrView(
457457
@Composable
458458
fun CjitOnBoardingView(modifier: Modifier = Modifier) {
459459
Column(
460+
horizontalAlignment = Alignment.CenterHorizontally,
460461
modifier = modifier
461462
.clip(AppShapes.small)
462463
.background(color = Colors.Black)
463-
.padding(32.dp),
464-
horizontalAlignment = Alignment.CenterHorizontally
464+
.padding(32.dp)
465465
) {
466466
Display(stringResource(R.string.wallet__receive_onboarding_title).withAccent(accentColor = Colors.Purple))
467467
VerticalSpacer(8.dp)
@@ -733,8 +733,8 @@ private fun PreviewAutoMode() {
733733
cltvExpiryDelta = 0u,
734734
maxDustHtlcExposure = org.lightningdevkit.ldknode.MaxDustHtlcExposure.FeeRateMultiplier(0uL),
735735
forceCloseAvoidanceMaxFeeSatoshis = 0uL,
736-
acceptUnderpayingHtlcs = false
737-
)
736+
acceptUnderpayingHtlcs = false,
737+
),
738738
)
739739

740740
AppThemeSurface {
@@ -804,8 +804,8 @@ private fun PreviewSpendingMode() {
804804
cltvExpiryDelta = 0u,
805805
maxDustHtlcExposure = org.lightningdevkit.ldknode.MaxDustHtlcExposure.FeeRateMultiplier(0uL),
806806
forceCloseAvoidanceMaxFeeSatoshis = 0uL,
807-
acceptUnderpayingHtlcs = false
808-
)
807+
acceptUnderpayingHtlcs = false,
808+
),
809809
)
810810

811811
AppThemeSurface {

0 commit comments

Comments
 (0)