diff --git a/common/src/main/res/values/strings.xml b/common/src/main/res/values/strings.xml index bb45fc1613..55a0194452 100644 --- a/common/src/main/res/values/strings.xml +++ b/common/src/main/res/values/strings.xml @@ -101,4 +101,7 @@ available Not available Log In + + The chain is syncing… + \ No newline at end of file diff --git a/wallet/build.gradle b/wallet/build.gradle index c75038fa0f..2afbf6a26c 100644 --- a/wallet/build.gradle +++ b/wallet/build.gradle @@ -284,6 +284,11 @@ android { buildConfigField("String", "TOPPER_KEY_ID", topperKeyId) buildConfigField("String", "TOPPER_WIDGET_ID", topperWidgetId) buildConfigField("String", "TOPPER_PRIVATE_KEY", topperPrivateKey) + + def zenLedgerClientId = props.getProperty("ZENLEDGER_CLIENT_ID", "\"\"") + def zenLedgerClientSecret = props.getProperty("ZENLEDGER_CLIENT_SECRET", "\"\"") + buildConfigField("String", "ZENLEDGER_CLIENT_ID", zenLedgerClientId) + buildConfigField("String", "ZENLEDGER_CLIENT_SECRET", zenLedgerClientSecret) } _testNet3 { applicationId = "hashengineering.darkcoin.wallet_test" @@ -299,11 +304,15 @@ android { buildConfigField("String", "TOPPER_KEY_ID", topperKeyId) buildConfigField("String", "TOPPER_WIDGET_ID", topperWidgetId) buildConfigField("String", "TOPPER_PRIVATE_KEY", topperPrivateKey) + buildConfigField("String", "ZENLEDGER_CLIENT_ID", "\"\"") + buildConfigField("String", "ZENLEDGER_CLIENT_SECRET", "\"\"") } devnet { applicationId = "org.dash.wallet.devnet" buildConfigField("String", "UPHOLD_CLIENT_ID", "\"UPHOLD_CLIENT_ID\"") buildConfigField("String", "UPHOLD_CLIENT_SECRET", "\"UPHOLD_CLIENT_SECRET\"") + buildConfigField("String", "ZENLEDGER_CLIENT_ID", "\"\"") + buildConfigField("String", "ZENLEDGER_CLIENT_SECRET", "\"\"") } } diff --git a/wallet/proguard.cfg b/wallet/proguard.cfg index 0c13d3d24f..9cc13a1bc6 100644 --- a/wallet/proguard.cfg +++ b/wallet/proguard.cfg @@ -104,4 +104,8 @@ -keep class org.bouncycastle** { *; } -keepnames class org.bouncycastle** { *; } --dontwarn org.bouncycastle.** \ No newline at end of file +-dontwarn org.bouncycastle.** + +-keepclassmembers class * { + @com.google.gson.annotations.SerializedName ; +} \ No newline at end of file diff --git a/wallet/res/drawable-hdpi/ic_zenledger_dash.png b/wallet/res/drawable-hdpi/ic_zenledger_dash.png new file mode 100644 index 0000000000..d22dab9c8a Binary files /dev/null and b/wallet/res/drawable-hdpi/ic_zenledger_dash.png differ diff --git a/wallet/res/drawable-mdpi/ic_zenledger_dash.png b/wallet/res/drawable-mdpi/ic_zenledger_dash.png new file mode 100644 index 0000000000..a0ad87a4dc Binary files /dev/null and b/wallet/res/drawable-mdpi/ic_zenledger_dash.png differ diff --git a/wallet/res/drawable-xhdpi/ic_zenledger_dash.png b/wallet/res/drawable-xhdpi/ic_zenledger_dash.png new file mode 100644 index 0000000000..27bc564a6a Binary files /dev/null and b/wallet/res/drawable-xhdpi/ic_zenledger_dash.png differ diff --git a/wallet/res/drawable-xxhdpi/ic_zenledger_dash.png b/wallet/res/drawable-xxhdpi/ic_zenledger_dash.png new file mode 100644 index 0000000000..8be408a279 Binary files /dev/null and b/wallet/res/drawable-xxhdpi/ic_zenledger_dash.png differ diff --git a/wallet/res/drawable-xxxhdpi/ic_zenledger_dash.png b/wallet/res/drawable-xxxhdpi/ic_zenledger_dash.png new file mode 100644 index 0000000000..7b65bda0dc Binary files /dev/null and b/wallet/res/drawable-xxxhdpi/ic_zenledger_dash.png differ diff --git a/wallet/res/drawable/ic_zenledger_icon.xml b/wallet/res/drawable/ic_zenledger_icon.xml new file mode 100644 index 0000000000..184baf10c1 --- /dev/null +++ b/wallet/res/drawable/ic_zenledger_icon.xml @@ -0,0 +1,31 @@ + + + + + + + diff --git a/wallet/res/layout/dialog_zenledger.xml b/wallet/res/layout/dialog_zenledger.xml new file mode 100644 index 0000000000..c0168705ba --- /dev/null +++ b/wallet/res/layout/dialog_zenledger.xml @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + +