Fix error parsing bitshares qr code with lower case
This commit is contained in:
parent
56a3c006cc
commit
7ddc2745b2
2 changed files with 2 additions and 1 deletions
|
@ -129,4 +129,5 @@ dependencies {
|
||||||
|
|
||||||
implementation 'com.google.zxing:core:3.2.1'
|
implementation 'com.google.zxing:core:3.2.1'
|
||||||
implementation 'com.journeyapps:zxing-android-embedded:3.2.0@aar'
|
implementation 'com.journeyapps:zxing-android-embedded:3.2.0@aar'
|
||||||
|
testImplementation 'org.testng:testng:6.9.6'
|
||||||
}
|
}
|
||||||
|
|
|
@ -782,7 +782,7 @@ public class SendTransactionFragment extends DialogFragment implements UIValidat
|
||||||
etTo.setText(invoice.getTo());
|
etTo.setText(invoice.getTo());
|
||||||
|
|
||||||
for (int i = 0; i < assetAdapter.getCount(); i++) {
|
for (int i = 0; i < assetAdapter.getCount(); i++) {
|
||||||
if (assetAdapter.getItem(i).getName().equals(invoice.getCurrency())) {
|
if (assetAdapter.getItem(i).getName().equals(invoice.getCurrency().toUpperCase())) {
|
||||||
spAsset.setSelection(i);
|
spAsset.setSelection(i);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue