Skip to content

Commit

Permalink
Merge pull request #10931 from brave/android_sync_dialog_modal
Browse files Browse the repository at this point in the history
Sync confirmation alert on Android is proper cancelable by touch from outside
  • Loading branch information
AlexeyBarabash authored Nov 8, 2021
2 parents 9b734cd + fa28225 commit 070fe27
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,8 @@ private void showFinalSecurityWarning(
runWhenCancel.run();
dialog.dismiss();
});
confirmDialog.setOnCancelListener((dialog) -> { runWhenCancel.run(); });

confirmDialog.show();
}

Expand Down

0 comments on commit 070fe27

Please sign in to comment.