mirror of
https://github.com/m2049r/xmrwallet
synced 2025-09-15 01:10:50 +02:00
Compare commits
1 Commits
fix/qr_amo
...
update/dep
Author | SHA1 | Date | |
---|---|---|---|
![]() |
1754b48936 |
@@ -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 {
|
||||||
|
@@ -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()))) {
|
||||||
|
Reference in New Issue
Block a user