QR code icon

This commit is contained in:
David Kaspar
2024-03-02 17:19:47 +00:00
parent 75934b5b98
commit 2f3df616f3
3 changed files with 5 additions and 3 deletions
@@ -768,7 +768,7 @@ fun BottomContent(
) { ) {
Icon( Icon(
painter = painterResource(R.drawable.ic_qrcode), painter = painterResource(R.drawable.ic_qrcode),
null, contentDescription = stringResource(id = R.string.show_npub_as_a_qr_code),
modifier = Modifier.size(24.dp), modifier = Modifier.size(24.dp),
tint = MaterialTheme.colorScheme.primary, tint = MaterialTheme.colorScheme.primary,
) )
@@ -445,7 +445,7 @@ fun UpdateZapAmountDialog(
) { ) {
Icon( Icon(
painter = painterResource(R.drawable.alby), painter = painterResource(R.drawable.alby),
null, contentDescription = stringResource(id = R.string.accessibility_navigate_to_alby),
modifier = Modifier.size(24.dp), modifier = Modifier.size(24.dp),
tint = Color.Unspecified, tint = Color.Unspecified,
) )
@@ -454,7 +454,7 @@ fun UpdateZapAmountDialog(
IconButton(onClick = { qrScanning = true }) { IconButton(onClick = { qrScanning = true }) {
Icon( Icon(
painter = painterResource(R.drawable.ic_qrcode), painter = painterResource(R.drawable.ic_qrcode),
null, contentDescription = stringResource(id = R.string.accessibility_scan_qr_code),
modifier = Modifier.size(24.dp), modifier = Modifier.size(24.dp),
tint = MaterialTheme.colorScheme.primary, tint = MaterialTheme.colorScheme.primary,
) )
+2
View File
@@ -809,4 +809,6 @@
<string name="accessibility_turn_on_sealed_message">Sealed message off. Click to turn on sealed message</string> <string name="accessibility_turn_on_sealed_message">Sealed message off. Click to turn on sealed message</string>
<string name="accessibility_turn_off_sealed_message">Sealed message on. Click to turn off sealed message</string> <string name="accessibility_turn_off_sealed_message">Sealed message on. Click to turn off sealed message</string>
<string name="accessibility_send">Send</string> <string name="accessibility_send">Send</string>
<string name="accessibility_scan_qr_code">Scan QR code</string>
<string name="accessibility_navigate_to_alby">Navigate to the third-party wallet provider Alby</string>
</resources> </resources>