Skip to content

Commit

Permalink
Enable darkmode on dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
neelchauhan authored and muhomorr committed Mar 5, 2025
1 parent 53fab67 commit a7599de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public final class BlockReportSpamDialogs {
/** Creates a dialog with the default cancel button listener (which dismisses the dialog). */
private static AlertDialog.Builder createDialogBuilder(
Activity activity, final DialogFragment fragment) {
return new AlertDialog.Builder(activity)
return new AlertDialog.Builder(activity, android.R.style.Theme_DeviceDefault_Dialog_Alert)
.setCancelable(true)
.setNegativeButton(android.R.string.cancel, (dialog, which) -> fragment.dismiss());
}
Expand Down

0 comments on commit a7599de

Please sign in to comment.