Skip to content

Commit

Permalink
(android) Remove 'new' label on bolt12 toggle button
Browse files Browse the repository at this point in the history
  • Loading branch information
dpad85 committed Nov 29, 2024
1 parent f02abc7 commit 653cdfd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,23 +193,11 @@ fun LightningInvoiceView(
TorWarning()
HSeparator(width = 50.dp)
Spacer(modifier = Modifier.height(24.dp))
Box {
FilledButton(
text = stringResource(id = R.string.receive_toggle_offer_button),
icon = R.drawable.ic_qrcode,
onClick = { showOfferDialog = true },
)
Text(
text = stringResource(id = R.string.receive_toggle_offer_new_overlay),
modifier = Modifier
.rotate(-38f)
.offset((-9).dp, (-4).dp)
.background(red500)
.padding(horizontal = 4.dp, vertical = 2.dp),
color = MaterialTheme.colors.onPrimary,
fontSize = 12.sp
)
}
FilledButton(
text = stringResource(id = R.string.receive_toggle_offer_button),
icon = R.drawable.ic_qrcode,
onClick = { showOfferDialog = true },
)
}
}

Expand Down
1 change: 0 additions & 1 deletion phoenix-android/src/main/res/values-cs/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
<string name="receive_lightning_share_subject">Lightningová faktura</string>
<string name="receive_lightning_share_title">Sdílet tuto Lightningovou fakturu s…</string>
<string name="receive_lnurl_button">Skenovat</string>
<string name="receive_toggle_offer_new_overlay">NOVINKA!</string>

<string name="receive_offer_share_title">Statická Lightning faktura</string>
<string name="receive_offer_share_subject">Sdílet tuto statickou Lightning fakturu s…</string>
Expand Down
1 change: 0 additions & 1 deletion phoenix-android/src/main/res/values-sk/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
<string name="receive_lightning_share_subject">Lightningová faktúra</string>
<string name="receive_lightning_share_title">Zdieľať túto Lightningovú faktúru s…</string>
<string name="receive_lnurl_button">Skenovanie</string>
<string name="receive_toggle_offer_new_overlay">NOVÉ!</string>

<string name="receive_offer_share_title">Statická Lightningová faktúra</string>
<string name="receive_offer_share_subject">Zdieľajte túto statickú Lightningovú faktúru s…</string>
Expand Down
1 change: 0 additions & 1 deletion phoenix-android/src/main/res/values-sw/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@
<string name="receive_lightning_share_subject">Hati ya Lightning</string>
<string name="receive_lightning_share_title">Shiriki hati ya Lightning na…</string>
<string name="receive_lnurl_button">Piga picha</string>
<string name="receive_toggle_offer_new_overlay">MPYA!</string>

<string name="receive_offer_share_title">Mkodishaji wa Bolt12</string>
<string name="receive_offer_share_subject">Shiriki msimbo huu wa Bolt12 na…</string>
Expand Down
1 change: 0 additions & 1 deletion phoenix-android/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@
<string name="receive_lightning_share_subject">Lightning invoice</string>
<string name="receive_lightning_share_title">Share this Lightning invoice with…</string>
<string name="receive_lnurl_button">Scan</string>
<string name="receive_toggle_offer_new_overlay">NEW!</string>

<string name="receive_offer_share_title">Bolt12 payment code</string>
<string name="receive_offer_share_subject">Share this Bolt12 payment code with…</string>
Expand Down

0 comments on commit 653cdfd

Please sign in to comment.