Skip to content

Commit b35fda6

Browse files
authored
Deprecated the old Material Design 2 theme to avoid using it (#6815)
* Deprecated the old Material Design 2 theme to avoid using it * Remove Autofix
1 parent 99655c5 commit b35fda6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • app/src/main/kotlin/io/homeassistant/companion/android/util/compose

app/src/main/kotlin/io/homeassistant/companion/android/util/compose/Theme.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ private val haDarkColors = darkColors(
5050
* A Compose [MaterialTheme] version of the app's XML theme. This achieves the same goal as the
5151
* (now deprecated) [com.google.accompanist.themeadapter.material.MdcTheme].
5252
*/
53+
@Deprecated(
54+
"Uses Material Design 2. Use HATheme (Material Design 3) instead. Kept until remaining call sites are migrated.",
55+
)
5356
@Composable
5457
fun HomeAssistantAppTheme(content: @Composable () -> Unit) {
5558
MaterialTheme(

0 commit comments

Comments
 (0)