diff --git a/app/src/main/kotlin/io/homeassistant/companion/android/util/compose/Theme.kt b/app/src/main/kotlin/io/homeassistant/companion/android/util/compose/Theme.kt index acccc740eab..26d389284a7 100644 --- a/app/src/main/kotlin/io/homeassistant/companion/android/util/compose/Theme.kt +++ b/app/src/main/kotlin/io/homeassistant/companion/android/util/compose/Theme.kt @@ -50,6 +50,13 @@ private val haDarkColors = darkColors( * A Compose [MaterialTheme] version of the app's XML theme. This achieves the same goal as the * (now deprecated) [com.google.accompanist.themeadapter.material.MdcTheme]. */ +@Deprecated( + "Uses Material Design 2. Use HATheme (Material Design 3) instead. Kept until remaining call sites are migrated.", + replaceWith = ReplaceWith( + "HATheme { content() }", + "io.homeassistant.companion.android.common.compose.theme.HATheme", + ), +) @Composable fun HomeAssistantAppTheme(content: @Composable () -> Unit) { MaterialTheme(