Skip to content

Commit

Permalink
Update wallet connect URL (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristhianescobar authored Aug 1, 2024
1 parent ff52623 commit 3fda1e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions android/core/resources/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
<string name="newm_connect_wallet_instruction_1">1. Open your Cardano supported web3 wallet app</string>
<string name="newm_connect_wallet_instruction_2">2. Use this URL to connect your wallet</string>
<string name="newm_connect_wallet_instruction_title">how to connect</string>
<string name="newm_tools_connect_wallet_url">https://tools.newm.io/wallet-connect</string>
<string name="newm_tools_url">https://tools.newm.io</string>
<string name="next">Next</string>
<string name="nft_library">NFT Library</string>
<string name="password">Password</string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,10 @@ class BarcodeScannerActivity : ComponentActivity() {
@Composable
fun CopyToClipboardButton() {
val clipboardManager: ClipboardManager = LocalClipboardManager.current

val connectWalletUrl = stringResource(id = R.string.newm_tools_connect_wallet_url)
Button(
onClick = {
clipboardManager.setText(androidx.compose.ui.text.AnnotatedString("https://newm.tools/"))
clipboardManager.setText(androidx.compose.ui.text.AnnotatedString(connectWalletUrl))
},
modifier = Modifier
.fillMaxWidth()
Expand All @@ -231,7 +231,7 @@ class BarcodeScannerActivity : ComponentActivity() {
colors = ButtonDefaults.buttonColors(backgroundColor = Color.Transparent)
) {
Text(
text = "https://newm.tools/",
text = getString(R.string.newm_tools_url),
fontFamily = inter,
fontWeight = FontWeight.Medium,
fontSize = 14.sp,
Expand Down
2 changes: 1 addition & 1 deletion iosApp/Modules/Helpers/SharedUI/XPubScannerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public struct ConnectWalletToAccountScannerView: View {

@ViewBuilder
private var aimSubtitle: some View {
Text("Go to `https://newm.tools` on your desktop browser to connect your wallet.")
Text("Go to `https://tools.newm.io` on your desktop browser to connect your wallet.")
.font(Font.custom("Inter", size: 20))
.multilineTextAlignment(.center)
.foregroundColor(Color(red: 0.56, green: 0.56, blue: 0.57))
Expand Down

0 comments on commit 3fda1e2

Please sign in to comment.