mirror of
https://github.com/m2049r/xmrwallet
synced 2025-05-09 15:05:14 +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());
|
||||
// TODO make method in TxDataBtc to set both of the above in one go
|
||||
sendListener.commitTransaction();
|
||||
pbProgressSend.setVisibility(View.VISIBLE);
|
||||
getActivity().runOnUiThread(() -> pbProgressSend.setVisibility(View.VISIBLE));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -131,12 +131,7 @@ public class SendConfirmWizardFragment extends SendWizardFragment implements Sen
|
||||
|
||||
void send() {
|
||||
sendListener.commitTransaction();
|
||||
getActivity().runOnUiThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
pbProgressSend.setVisibility(View.VISIBLE);
|
||||
}
|
||||
});
|
||||
getActivity().runOnUiThread(() -> pbProgressSend.setVisibility(View.VISIBLE));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user