File tree 1 file changed +3
-1
lines changed
android/java/org/chromium/chrome/browser/crypto_wallet/fragments
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -195,6 +195,8 @@ private void setUpObservers() {
195
195
mPendingTxs = transactionInfos ;
196
196
if (mCurrentPendingTx == null && mPendingTxs .size () > 0 ) {
197
197
mCurrentPendingTx = mPendingTxs .get (0 );
198
+ } else if (mPendingTxs .size () == 0 ) {
199
+ mCurrentPendingTx = null ;
198
200
}
199
201
updatePendingTxNotification ();
200
202
});
@@ -397,7 +399,7 @@ public void callAnotherApproveDialog() {
397
399
.getAccountNameForTransaction (mCurrentPendingTx ));
398
400
approveTxBottomSheetDialogFragment .setApprovedTxObserver (this );
399
401
approveTxBottomSheetDialogFragment .show (
400
- getFragmentManager (), ApproveTxBottomSheetDialogFragment .TAG_FRAGMENT );
402
+ getParentFragmentManager (), ApproveTxBottomSheetDialogFragment .TAG_FRAGMENT );
401
403
}
402
404
403
405
private void showEditVisibleDialog () {
You can’t perform that action at this time.
0 commit comments