From d92ac247c19654142b8bfbf3ba3c0a1dd1303195 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 19 Dec 2025 16:12:31 +0100 Subject: [PATCH] Remove `materialTypography` val from ElementTheme. We should only use `typography`. --- .../io/element/android/compound/theme/ElementTheme.kt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libraries/compound/src/main/kotlin/io/element/android/compound/theme/ElementTheme.kt b/libraries/compound/src/main/kotlin/io/element/android/compound/theme/ElementTheme.kt index 0f8e77a4b6..bb2ae2b62e 100644 --- a/libraries/compound/src/main/kotlin/io/element/android/compound/theme/ElementTheme.kt +++ b/libraries/compound/src/main/kotlin/io/element/android/compound/theme/ElementTheme.kt @@ -62,14 +62,6 @@ object ElementTheme { */ val typography: TypographyTokens = TypographyTokens - /** - * Material 3 [Typography] tokens. In Figma, these have the `M3 Typography/` prefix. - */ - val materialTypography: Typography - @Composable - @ReadOnlyComposable - get() = MaterialTheme.typography - /** * Returns whether the theme version used is the light or the dark one. */