Merge pull request #1100 from clay53/master

Changed wallet send notification to accept 4 digit decimal
This commit is contained in:
Akinwale Ariwodola 2020-12-29 06:52:16 +01:00 committed by GitHub
commit 67d5f88d34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -463,7 +463,7 @@ public class WalletFragment extends BaseFragment implements SdkStatusListener, W
double sentAmount = actualSendAmount; double sentAmount = actualSendAmount;
String message = getResources().getQuantityString( String message = getResources().getQuantityString(
R.plurals.you_sent_credits, sentAmount == 1.0 ? 1 : 2, R.plurals.you_sent_credits, sentAmount == 1.0 ? 1 : 2,
new DecimalFormat("#,###.##").format(sentAmount)); new DecimalFormat("#,###.####").format(sentAmount));
Helper.setViewText(inputSendAddress, null); Helper.setViewText(inputSendAddress, null);
Helper.setViewText(inputSendAmount, null); Helper.setViewText(inputSendAmount, null);
if (view != null) { if (view != null) {