Skip to content

Commit e69e4bd

Browse files
committed
chore: imports
1 parent e018184 commit e69e4bd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ private fun ReceiveQrView(
281281
QrCodeImage(
282282
content = uri,
283283
logoPainter = qrLogoPainter,
284-
tipMessage = androidx.compose.ui.res.stringResource(R.string.wallet__receive_copied),
284+
tipMessage = stringResource(R.string.wallet__receive_copied),
285285
onBitmapGenerated = { bitmap -> qrBitmap = bitmap },
286286
testTag = "QRCode",
287287
modifier = Modifier.weight(1f, fill = false)
@@ -293,7 +293,7 @@ private fun ReceiveQrView(
293293
verticalAlignment = Alignment.Top,
294294
) {
295295
PrimaryButton(
296-
text = androidx.compose.ui.res.stringResource(R.string.common__edit),
296+
text = stringResource(R.string.common__edit),
297297
size = ButtonSize.Small,
298298
onClick = onClickEditInvoice,
299299
fullWidth = false,
@@ -313,11 +313,11 @@ private fun ReceiveQrView(
313313
modifier = Modifier.testTag("SpecifyInvoiceButton")
314314
)
315315
Tooltip(
316-
text = androidx.compose.ui.res.stringResource(R.string.wallet__receive_copied),
316+
text = stringResource(R.string.wallet__receive_copied),
317317
tooltipState = qrButtonTooltipState
318318
) {
319319
PrimaryButton(
320-
text = androidx.compose.ui.res.stringResource(R.string.common__copy),
320+
text = stringResource(R.string.common__copy),
321321
size = ButtonSize.Small,
322322
onClick = {
323323
context.setClipboardText(uri)
@@ -341,7 +341,7 @@ private fun ReceiveQrView(
341341
)
342342
}
343343
PrimaryButton(
344-
text = androidx.compose.ui.res.stringResource(R.string.common__share),
344+
text = stringResource(R.string.common__share),
345345
size = ButtonSize.Small,
346346
onClick = {
347347
qrBitmap?.let { bitmap ->
@@ -441,15 +441,15 @@ private fun ReceiveDetailsView(
441441
// Show both onchain AND lightning if available
442442
if (onchainAddress.isNotEmpty()) {
443443
CopyAddressCard(
444-
title = androidx.compose.ui.res.stringResource(R.string.wallet__receive_bitcoin_invoice),
444+
title = stringResource(R.string.wallet__receive_bitcoin_invoice),
445445
address = onchainAddress,
446446
type = CopyAddressType.ONCHAIN,
447447
testTag = "ReceiveOnchainAddress",
448448
)
449449
}
450450
if (cjitInvoice != null || bolt11.isNotEmpty()) {
451451
CopyAddressCard(
452-
title = androidx.compose.ui.res.stringResource(R.string.wallet__receive_lightning_invoice),
452+
title = stringResource(R.string.wallet__receive_lightning_invoice),
453453
address = cjitInvoice ?: bolt11,
454454
type = CopyAddressType.LIGHTNING,
455455
testTag = "ReceiveLightningAddress",
@@ -460,7 +460,7 @@ private fun ReceiveDetailsView(
460460
ReceiveTab.SPENDING -> {
461461
if (cjitInvoice != null || bolt11.isNotEmpty()) {
462462
CopyAddressCard(
463-
title = androidx.compose.ui.res.stringResource(R.string.wallet__receive_lightning_invoice),
463+
title = stringResource(R.string.wallet__receive_lightning_invoice),
464464
address = cjitInvoice ?: bolt11,
465465
type = CopyAddressType.LIGHTNING,
466466
testTag = "ReceiveLightningAddress",

0 commit comments

Comments
 (0)