1
mirror of https://github.com/m2049r/xmrwallet synced 2025-09-15 01:10:50 +02:00

Compare commits

..

1 Commits

Author SHA1 Message Date
m2049r
1754b48936 update dependencies & gradle 2025-06-15 22:41:13 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -908,6 +908,7 @@ public class WalletActivity extends BaseActivity implements WalletFragment.Liste
BarcodeData bcData = BarcodeData.fromString(qrCode); BarcodeData bcData = BarcodeData.fromString(qrCode);
if (bcData != null) { if (bcData != null) {
popFragmentStack(null); popFragmentStack(null);
Timber.d("AAA");
onUriScanned(bcData); onUriScanned(bcData);
return true; return true;
} else { } else {

View File

@@ -160,12 +160,11 @@ public class SendAddressWizardFragment extends SendWizardFragment {
public void afterTextChanged(Editable editable) { public void afterTextChanged(Editable editable) {
Timber.d("AFTER: %s", editable.toString()); Timber.d("AFTER: %s", editable.toString());
BarcodeData bc = sendListener.getBarcodeData(); BarcodeData bc = sendListener.getBarcodeData();
if ((bc != null) && !bc.getAddress().equals(etAddress.getEditText().getText().toString()))
sendListener.setBarcodeData(null); // it's used up now
if (bc == null) { if (bc == null) {
final String address = etAddress.getEditText().getText().toString(); final String address = etAddress.getEditText().getText().toString();
bc = BarcodeData.fromString(address); bc = BarcodeData.fromString(address);
} }
sendListener.setBarcodeData(null); // it's used up now
possibleCryptos.clear(); possibleCryptos.clear();
selectedCrypto = null; selectedCrypto = null;
if ((bc != null) && (bc.filter(ShiftService.getPossibleAssets()))) { if ((bc != null) && (bc.filter(ShiftService.getPossibleAssets()))) {