DeviceParts: add alert dialog style
Change-Id: I18a1863d13e11dc5d50fff2503d158c43b75a065
diff --git a/DeviceParts/res/values/styles.xml b/DeviceParts/res/values/styles.xml
index 6b8a4e7..90fbdb1 100644
--- a/DeviceParts/res/values/styles.xml
+++ b/DeviceParts/res/values/styles.xml
@@ -24,6 +24,12 @@
<item name="preferenceTheme">@style/Omni.PreferenceTheme</item>
<item name="android:switchStyle">@style/Omni.SwitchStyle</item>
<item name="android:textAppearanceListItem">@style/Omni.PreferenceTitle</item>
+ <item name="alertDialogTheme">@style/AlertDialogTheme</item>
+ </style>
+
+ <style name="AlertDialogTheme" parent="Theme.Material3.DayNight.Dialog.Alert">
+ <item name="colorAccent">?attr/colorPrimary</item>
+ <item name="colorPrimary">@color/colorPrimary</item>
<item name="dialogCornerRadius">8dp</item>
</style>
</resources>