From 91e2af32ad6d8d3c0ca7fbb3f21120d2d94c9cfb Mon Sep 17 00:00:00 2001 From: Babak Date: Sat, 11 Nov 2023 14:20:54 -0800 Subject: [PATCH] remove walletConnectKit library and replace the wallet connect button with outlined material button --- example/build.gradle | 1 - .../src/main/res/drawable/ic_wallet_connect_logo.xml | 9 +++++++++ .../src/main/res/layout/fragment_connect_wallet.xml | 11 +++++++++-- example/src/main/res/values/strings.xml | 1 + example/src/main/res/values/themes.xml | 2 +- 5 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 example/src/main/res/drawable/ic_wallet_connect_logo.xml diff --git a/example/build.gradle b/example/build.gradle index 5f4ca3281..5bfe01bbc 100644 --- a/example/build.gradle +++ b/example/build.gradle @@ -64,7 +64,6 @@ dependencies { implementation 'androidx.activity:activity-ktx:1.6.1' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' implementation 'androidx.recyclerview:recyclerview:1.3.0' - implementation 'dev.pinkroom:walletconnectkit:0.3.2' implementation 'org.web3j:crypto:5.0.0' // WalletConnect V2: core library + WalletConnectModal diff --git a/example/src/main/res/drawable/ic_wallet_connect_logo.xml b/example/src/main/res/drawable/ic_wallet_connect_logo.xml new file mode 100644 index 000000000..4fdaa6193 --- /dev/null +++ b/example/src/main/res/drawable/ic_wallet_connect_logo.xml @@ -0,0 +1,9 @@ + + + diff --git a/example/src/main/res/layout/fragment_connect_wallet.xml b/example/src/main/res/layout/fragment_connect_wallet.xml index 054fb4468..8d93ca824 100644 --- a/example/src/main/res/layout/fragment_connect_wallet.xml +++ b/example/src/main/res/layout/fragment_connect_wallet.xml @@ -28,10 +28,17 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> - org.xmtp.example.android Something went wrong + WalletConnect Generate wallet Connect wallet No wallet apps installed diff --git a/example/src/main/res/values/themes.xml b/example/src/main/res/values/themes.xml index b02e56c74..88ae2efc5 100644 --- a/example/src/main/res/values/themes.xml +++ b/example/src/main/res/values/themes.xml @@ -1,5 +1,5 @@ -