diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/ext/DialogExtensions.kt b/app/src/main/java/pl/szczodrzynski/edziennik/ext/DialogExtensions.kt index 61de4f77..ede40393 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/ext/DialogExtensions.kt +++ b/app/src/main/java/pl/szczodrzynski/edziennik/ext/DialogExtensions.kt @@ -83,13 +83,13 @@ fun AlertDialog.overlayBackgroundColor(color: Int, alpha: Int) { val backgroundInsets = MaterialDialogs.getDialogBackgroundInsets( context, R.attr.alertDialogStyle, - R.style.MaterialAlertDialog_MaterialComponents, + R.style.MaterialAlertDialog_Material3, ) val background = MaterialShapeDrawable( context, null, R.attr.alertDialogStyle, - R.style.MaterialAlertDialog_MaterialComponents + R.style.MaterialAlertDialog_Material3 ) with(background) { initializeElevationOverlay(context) diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/ui/dialogs/settings/ProfileConfigDialog.kt b/app/src/main/java/pl/szczodrzynski/edziennik/ui/dialogs/settings/ProfileConfigDialog.kt index 7ded038d..daeb5926 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/ui/dialogs/settings/ProfileConfigDialog.kt +++ b/app/src/main/java/pl/szczodrzynski/edziennik/ui/dialogs/settings/ProfileConfigDialog.kt @@ -46,7 +46,7 @@ class ProfileConfigDialog( activity, null, R.attr.alertDialogStyle, - R.style.MaterialAlertDialog_MaterialComponents + R.style.MaterialAlertDialog_Material3 ) val surface = MaterialColors.getColor(activity, R.attr.colorSurface, TAG) shape.setCornerSize(18.dp.toFloat()) diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/ui/settings/SettingsLicenseActivity.kt b/app/src/main/java/pl/szczodrzynski/edziennik/ui/settings/SettingsLicenseActivity.kt index 5a4a5e9b..f86fe807 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/ui/settings/SettingsLicenseActivity.kt +++ b/app/src/main/java/pl/szczodrzynski/edziennik/ui/settings/SettingsLicenseActivity.kt @@ -32,9 +32,9 @@ class SettingsLicenseActivity : MaterialAboutActivity() { override fun onCreate(savedInstanceState: Bundle?) { setTheme( if (Themes.isDark) - R.style.Theme_MaterialComponents + R.style.Theme_Material3_Dark else - R.style.Theme_MaterialComponents_Light + R.style.Theme_Material3_Light ) foregroundColor = if (Themes.isDark) R.color.primaryTextDark.resolveColor(this) diff --git a/app/src/main/res/layout/activity_build_invalid.xml b/app/src/main/res/layout/activity_build_invalid.xml index 0bc5fd85..1cf265ad 100644 --- a/app/src/main/res/layout/activity_build_invalid.xml +++ b/app/src/main/res/layout/activity_build_invalid.xml @@ -55,7 +55,7 @@