Changed wallet send notification to accept 4 digit decimal

This commit is contained in:
Clayton Hickey 2020-12-27 03:54:36 -05:00
parent ee1d090e62
commit c30b012787

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) {