tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit ee63c6e0f3627af3cf8bc34cb88f99556f8e5a01
parent 9156b88c5d65f33a209e8707f6c2ceb65200e435
Author: mcarare <48995920+mcarare@users.noreply.github.com>
Date:   Thu,  2 Oct 2025 11:54:44 +0000

Bug 1992083 - Apply custom dialog styling to MaterialAlertDialog r=android-reviewers,rebecatudor273

This patch ensures that `MaterialAlertDialog` components use the application's custom `DialogStyle`, consistent with other dialogs. This is achieved by setting the `materialAlertDialogTheme` attribute in the main app theme.

Differential Revision: https://phabricator.services.mozilla.com/D267208

Diffstat:
Mmobile/android/focus-android/app/src/main/res/values/styles.xml | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/mobile/android/focus-android/app/src/main/res/values/styles.xml b/mobile/android/focus-android/app/src/main/res/values/styles.xml @@ -28,6 +28,7 @@ <item name="preferenceTheme">@style/PreferenceTheme</item> <item name="alertDialogStyle">@style/DialogStyle</item> <item name="alertDialogTheme">@style/DialogStyle</item> + <item name="materialAlertDialogTheme">@style/DialogStyle</item> <item name="android:progressBarStyleHorizontal">@style/progressBarStyleHorizontal</item> <item name="android:itemBackground">@color/menuBackground</item> <item name="android:itemTextAppearance">@style/ItemTextAppearance</item>