diff --git a/app/src/main/java/com/m2049r/xmrwallet/fragment/send/SendConfirmWizardFragment.java b/app/src/main/java/com/m2049r/xmrwallet/fragment/send/SendConfirmWizardFragment.java
index 63f73613..e7838ba7 100644
--- a/app/src/main/java/com/m2049r/xmrwallet/fragment/send/SendConfirmWizardFragment.java
+++ b/app/src/main/java/com/m2049r/xmrwallet/fragment/send/SendConfirmWizardFragment.java
@@ -214,11 +214,16 @@ public class SendConfirmWizardFragment extends SendWizardFragment implements Sen
if (pendingTransaction != null) {
llConfirmSend.setVisibility(View.VISIBLE);
bSend.setEnabled(true);
- tvTxAmount.setText(Wallet.getDisplayAmount(pendingTransaction.getAmount()));
tvTxFee.setText(Wallet.getDisplayAmount(pendingTransaction.getFee()));
- //tvTxDust.setText(Wallet.getDisplayAmount(pendingTransaction.getDust()));
- tvTxTotal.setText(Wallet.getDisplayAmount(
- pendingTransaction.getFee() + pendingTransaction.getAmount()));
+ if (getActivityCallback().isStreetMode()
+ && (sendListener.getTxData().getAmount() == Wallet.SWEEP_ALL)) {
+ tvTxAmount.setText(getString(R.string.street_sweep_amount));
+ tvTxTotal.setText(getString(R.string.street_sweep_amount));
+ } else {
+ tvTxAmount.setText(Wallet.getDisplayAmount(pendingTransaction.getAmount()));
+ tvTxTotal.setText(Wallet.getDisplayAmount(
+ pendingTransaction.getFee() + pendingTransaction.getAmount()));
+ }
} else {
llConfirmSend.setVisibility(View.GONE);
bSend.setEnabled(false);
diff --git a/app/src/main/java/com/m2049r/xmrwallet/fragment/send/SendSuccessWizardFragment.java b/app/src/main/java/com/m2049r/xmrwallet/fragment/send/SendSuccessWizardFragment.java
index 0e09a0c6..1c34e086 100644
--- a/app/src/main/java/com/m2049r/xmrwallet/fragment/send/SendSuccessWizardFragment.java
+++ b/app/src/main/java/com/m2049r/xmrwallet/fragment/send/SendSuccessWizardFragment.java
@@ -27,6 +27,7 @@ import android.widget.Toast;
import com.m2049r.xmrwallet.R;
import com.m2049r.xmrwallet.data.PendingTx;
import com.m2049r.xmrwallet.data.TxData;
+import com.m2049r.xmrwallet.model.Wallet;
import com.m2049r.xmrwallet.util.Helper;
import timber.log.Timber;
@@ -54,6 +55,8 @@ public class SendSuccessWizardFragment extends SendWizardFragment {
void enableDone();
SendFragment.Mode getMode();
+
+ SendFragment.Listener getActivityCallback();
}
ImageButton bCopyTxId;
@@ -120,7 +123,13 @@ public class SendSuccessWizardFragment extends SendWizardFragment {
tvTxId.setText(committedTx.txId);
bCopyTxId.setEnabled(true);
bCopyTxId.setImageResource(R.drawable.ic_content_copy_black_24dp);
- tvTxAmount.setText(getString(R.string.send_amount, Helper.getDisplayAmount(committedTx.amount)));
+
+ if (sendListener.getActivityCallback().isStreetMode()
+ && (sendListener.getTxData().getAmount() == Wallet.SWEEP_ALL)) {
+ tvTxAmount.setText(getString(R.string.street_sweep_amount));
+ } else {
+ tvTxAmount.setText(getString(R.string.send_amount, Helper.getDisplayAmount(committedTx.amount)));
+ }
tvTxFee.setText(getString(R.string.send_fee, Helper.getDisplayAmount(committedTx.fee)));
}
sendListener.enableDone();
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index 37684c2e..40fd9876 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -374,4 +374,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml
index 344a6e19..0f7c309c 100644
--- a/app/src/main/res/values-el/strings.xml
+++ b/app/src/main/res/values-el/strings.xml
@@ -373,4 +373,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml
index b02cccee..77ef302a 100644
--- a/app/src/main/res/values-es/strings.xml
+++ b/app/src/main/res/values-es/strings.xml
@@ -363,4 +363,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-et/strings.xml b/app/src/main/res/values-et/strings.xml
index ad7fe43a..36aa87f2 100644
--- a/app/src/main/res/values-et/strings.xml
+++ b/app/src/main/res/values-et/strings.xml
@@ -371,4 +371,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml
index 1a4524cb..2f6ced8b 100644
--- a/app/src/main/res/values-fr/strings.xml
+++ b/app/src/main/res/values-fr/strings.xml
@@ -377,4 +377,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml
index 8d0a290f..947e6721 100644
--- a/app/src/main/res/values-hu/strings.xml
+++ b/app/src/main/res/values-hu/strings.xml
@@ -375,4 +375,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml
index 895c00da..519ab87d 100644
--- a/app/src/main/res/values-it/strings.xml
+++ b/app/src/main/res/values-it/strings.xml
@@ -376,4 +376,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml
index 5b3890a2..8ba5f191 100644
--- a/app/src/main/res/values-ja/strings.xml
+++ b/app/src/main/res/values-ja/strings.xml
@@ -419,4 +419,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-nb/strings.xml b/app/src/main/res/values-nb/strings.xml
index 54aa12f4..fbdb010b 100644
--- a/app/src/main/res/values-nb/strings.xml
+++ b/app/src/main/res/values-nb/strings.xml
@@ -373,4 +373,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml
index 875a7ba8..9ae7b4e5 100644
--- a/app/src/main/res/values-nl/strings.xml
+++ b/app/src/main/res/values-nl/strings.xml
@@ -373,4 +373,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml
index 4e47eec3..ad4e4c33 100755
--- a/app/src/main/res/values-pt-rBR/strings.xml
+++ b/app/src/main/res/values-pt-rBR/strings.xml
@@ -365,4 +365,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml
index cc35b71d..ac12b1da 100644
--- a/app/src/main/res/values-pt/strings.xml
+++ b/app/src/main/res/values-pt/strings.xml
@@ -377,4 +377,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-ro/strings.xml b/app/src/main/res/values-ro/strings.xml
index 3740c27e..44f6e6f9 100644
--- a/app/src/main/res/values-ro/strings.xml
+++ b/app/src/main/res/values-ro/strings.xml
@@ -373,4 +373,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml
index 8b832961..4a08897a 100644
--- a/app/src/main/res/values-ru/strings.xml
+++ b/app/src/main/res/values-ru/strings.xml
@@ -377,4 +377,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml
index 679d4357..ec82a1c4 100644
--- a/app/src/main/res/values-sk/strings.xml
+++ b/app/src/main/res/values-sk/strings.xml
@@ -374,4 +374,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml
index 2f33499a..20ad413f 100644
--- a/app/src/main/res/values-sv/strings.xml
+++ b/app/src/main/res/values-sv/strings.xml
@@ -358,4 +358,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-ua/strings.xml b/app/src/main/res/values-ua/strings.xml
index 7f5581c6..1091be2b 100644
--- a/app/src/main/res/values-ua/strings.xml
+++ b/app/src/main/res/values-ua/strings.xml
@@ -377,4 +377,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml
index 6df893c4..c2c7427f 100644
--- a/app/src/main/res/values-zh-rCN/strings.xml
+++ b/app/src/main/res/values-zh-rCN/strings.xml
@@ -371,4 +371,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml
index 54862d6d..a04597fc 100644
--- a/app/src/main/res/values-zh-rTW/strings.xml
+++ b/app/src/main/res/values-zh-rTW/strings.xml
@@ -373,4 +373,6 @@
BTC amount out of bounds
Invalid or outdated Payment URL
Too many requests
+
+ EVERYTHING!
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 755b8d3d..99ae8c19 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -422,4 +422,6 @@
Too many requests
XMR.TO Service Error
+
+ EVERYTHING!