mirror of
https://github.com/m2049r/xmrwallet
synced 2025-05-18 14:23:45 +02:00
fix crash when sending btc (#686)
This commit is contained in:
parent
c6a1b503bc
commit
85d84d09ee
app/src/main/java/com/m2049r/xmrwallet/fragment/send
@ -204,7 +204,7 @@ public class SendBtcConfirmWizardFragment extends SendWizardFragment implements
|
|||||||
((TxDataBtc) sendListener.getTxData()).setXmrtoUuid(xmrtoStatus.getUuid());
|
((TxDataBtc) sendListener.getTxData()).setXmrtoUuid(xmrtoStatus.getUuid());
|
||||||
// TODO make method in TxDataBtc to set both of the above in one go
|
// TODO make method in TxDataBtc to set both of the above in one go
|
||||||
sendListener.commitTransaction();
|
sendListener.commitTransaction();
|
||||||
pbProgressSend.setVisibility(View.VISIBLE);
|
getActivity().runOnUiThread(() -> pbProgressSend.setVisibility(View.VISIBLE));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -131,12 +131,7 @@ public class SendConfirmWizardFragment extends SendWizardFragment implements Sen
|
|||||||
|
|
||||||
void send() {
|
void send() {
|
||||||
sendListener.commitTransaction();
|
sendListener.commitTransaction();
|
||||||
getActivity().runOnUiThread(new Runnable() {
|
getActivity().runOnUiThread(() -> pbProgressSend.setVisibility(View.VISIBLE));
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
pbProgressSend.setVisibility(View.VISIBLE);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user