diff --git a/app/src/main/java/com/github/libretube/SettingsActivity.kt b/app/src/main/java/com/github/libretube/SettingsActivity.kt index f4ebb83c8..8cea042d3 100644 --- a/app/src/main/java/com/github/libretube/SettingsActivity.kt +++ b/app/src/main/java/com/github/libretube/SettingsActivity.kt @@ -18,6 +18,8 @@ class SettingsActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { DynamicColors.applyToActivityIfAvailable(this) ThemeHelper().updateTheme(this) + // makes the preference dialogs use material dialogs + setTheme(R.style.MaterialAlertDialog) super.onCreate(savedInstanceState) if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) { diff --git a/app/src/main/res/values/style.xml b/app/src/main/res/values/style.xml index 42954394b..ab61aad5f 100644 --- a/app/src/main/res/values/style.xml +++ b/app/src/main/res/values/style.xml @@ -15,4 +15,12 @@ @android:color/transparent + + + \ No newline at end of file diff --git a/app/src/main/res/xml/appearance_settings.xml b/app/src/main/res/xml/appearance_settings.xml index 1903a49d6..1714cc342 100644 --- a/app/src/main/res/xml/appearance_settings.xml +++ b/app/src/main/res/xml/appearance_settings.xml @@ -1,10 +1,10 @@ - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/app/src/main/res/xml/download_settings.xml b/app/src/main/res/xml/download_settings.xml index e14ca71f9..6664741c3 100644 --- a/app/src/main/res/xml/download_settings.xml +++ b/app/src/main/res/xml/download_settings.xml @@ -1,5 +1,5 @@ - + @@ -22,4 +22,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/app/src/main/res/xml/history_settings.xml b/app/src/main/res/xml/history_settings.xml index a5b43077d..5a3fd2deb 100644 --- a/app/src/main/res/xml/history_settings.xml +++ b/app/src/main/res/xml/history_settings.xml @@ -1,5 +1,5 @@ - @@ -17,4 +17,4 @@ - + diff --git a/app/src/main/res/xml/settings.xml b/app/src/main/res/xml/settings.xml index b6061895f..d9ef825ac 100644 --- a/app/src/main/res/xml/settings.xml +++ b/app/src/main/res/xml/settings.xml @@ -1,5 +1,5 @@ - @@ -35,18 +35,18 @@ app:defaultValue="https://pipedapi.kavin.rocks/" android:icon="@drawable/ic_server" /> - - - - - - - @@ -93,4 +93,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/app/src/main/res/xml/sponsorblock_settings.xml b/app/src/main/res/xml/sponsorblock_settings.xml index 6aad2752b..395229c7c 100644 --- a/app/src/main/res/xml/sponsorblock_settings.xml +++ b/app/src/main/res/xml/sponsorblock_settings.xml @@ -1,5 +1,5 @@ - - +