diff --git a/app/build.gradle b/app/build.gradle index db62f06..9639933 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,8 +9,8 @@ android { applicationId "net.mynero.wallet" minSdkVersion 21 targetSdkVersion 34 - versionCode 40404 - versionName "0.4.4.4 'Fluorine Fermi'" + versionCode 40405 + versionName "0.4.4.5 'Fluorine Fermi'" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" externalNativeBuild { cmake { diff --git a/app/src/main/cpp/monerujo.cpp b/app/src/main/cpp/monerujo.cpp index 440106a..eb73232 100644 --- a/app/src/main/cpp/monerujo.cpp +++ b/app/src/main/cpp/monerujo.cpp @@ -1135,10 +1135,11 @@ Java_net_mynero_wallet_model_Wallet_getCoinsJ(JNIEnv *env, jobject instance) { jobject newCoinsInfo(JNIEnv *env, Monero::CoinsInfo *info) { jmethodID c = env->GetMethodID(class_CoinsInfo, "", - "(JZLjava/lang/String;JLjava/lang/String;Ljava/lang/String;ZJZ)V"); + "(JZLjava/lang/String;JLjava/lang/String;Ljava/lang/String;ZJZLjava/lang/String;)V"); jstring _key_image = env->NewStringUTF(info->keyImage().c_str()); jstring _pub_key = env->NewStringUTF(info->pubKey().c_str()); jstring _hash = env->NewStringUTF(info->hash().c_str()); + jstring _address = env->NewStringUTF(info->address().c_str()); jobject result = env->NewObject(class_CoinsInfo, c, static_cast (info->globalOutputIndex()), info->spent(), @@ -1148,10 +1149,12 @@ jobject newCoinsInfo(JNIEnv *env, Monero::CoinsInfo *info) { _pub_key, info->unlocked(), static_cast (info->internalOutputIndex()), - info->frozen()); + info->frozen(), + _address); env->DeleteLocalRef(_key_image); env->DeleteLocalRef(_hash); env->DeleteLocalRef(_pub_key); + env->DeleteLocalRef(_address); return result; } diff --git a/app/src/main/java/net/mynero/wallet/adapter/CoinsInfoAdapter.java b/app/src/main/java/net/mynero/wallet/adapter/CoinsInfoAdapter.java index caf0db3..3005222 100644 --- a/app/src/main/java/net/mynero/wallet/adapter/CoinsInfoAdapter.java +++ b/app/src/main/java/net/mynero/wallet/adapter/CoinsInfoAdapter.java @@ -138,22 +138,24 @@ public class CoinsInfoAdapter extends RecyclerView.Adapter { boolean unlocked; long localOutputIndex; boolean frozen; + String address; - public CoinsInfo(long globalOutputIndex, boolean spent, String keyImage, long amount, String hash, String pubKey, boolean unlocked, long localOutputIndex, boolean frozen) { + public CoinsInfo(long globalOutputIndex, boolean spent, String keyImage, long amount, String hash, String pubKey, boolean unlocked, long localOutputIndex, boolean frozen, String address) { this.globalOutputIndex = globalOutputIndex; this.spent = spent; this.keyImage = keyImage; @@ -58,6 +59,7 @@ public class CoinsInfo implements Parcelable, Comparable { this.unlocked = unlocked; this.localOutputIndex = localOutputIndex; this.frozen = frozen; + this.address = address; } protected CoinsInfo(Parcel in) { @@ -100,6 +102,10 @@ public class CoinsInfo implements Parcelable, Comparable { return frozen; } + public String getAddress() { + return address; + } + @Override public int describeContents() { return 0; diff --git a/app/src/main/res/drawable/xmrchan_empty.png b/app/src/main/res/drawable/xmrchan_empty.png index fcc933c..3f3553d 100644 Binary files a/app/src/main/res/drawable/xmrchan_empty.png and b/app/src/main/res/drawable/xmrchan_empty.png differ diff --git a/app/src/main/res/drawable/xmrchan_half.png b/app/src/main/res/drawable/xmrchan_half.png index 3940c48..202cbf5 100644 Binary files a/app/src/main/res/drawable/xmrchan_half.png and b/app/src/main/res/drawable/xmrchan_half.png differ diff --git a/app/src/main/res/drawable/xmrchan_loading.png b/app/src/main/res/drawable/xmrchan_loading.png index 20366cb..8bf19fe 100644 Binary files a/app/src/main/res/drawable/xmrchan_loading.png and b/app/src/main/res/drawable/xmrchan_loading.png differ diff --git a/app/src/main/res/layout/fragment_onboarding.xml b/app/src/main/res/layout/fragment_onboarding.xml index c4fa189..fe19bda 100644 --- a/app/src/main/res/layout/fragment_onboarding.xml +++ b/app/src/main/res/layout/fragment_onboarding.xml @@ -3,212 +3,220 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" - android:layout_height="match_parent" - android:paddingEnd="24dp" - android:paddingStart="24dp" - android:paddingTop="24dp"> + android:layout_height="match_parent"> - - - - - - - - - - - - - -