Update compose-theme-adapter
This commit is contained in:
parent
d098eca69d
commit
5fbf454652
@ -3,13 +3,17 @@ package eu.kanade.presentation.theme
|
||||
import androidx.compose.material3.MaterialTheme
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.platform.LocalContext
|
||||
import androidx.compose.ui.platform.LocalLayoutDirection
|
||||
import com.google.android.material.composethemeadapter3.createMdc3Theme
|
||||
|
||||
@Composable
|
||||
fun TachiyomiTheme(content: @Composable () -> Unit) {
|
||||
val context = LocalContext.current
|
||||
val layoutDirection = LocalLayoutDirection.current
|
||||
|
||||
val (colorScheme, typography) = createMdc3Theme(
|
||||
context = context,
|
||||
layoutDirection = layoutDirection,
|
||||
setTextColors = true,
|
||||
)
|
||||
|
||||
|
@ -10,7 +10,7 @@ ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref="compose"
|
||||
ui-util = { module = "androidx.compose.ui:ui-util", version.ref="compose" }
|
||||
|
||||
material3-core = "androidx.compose.material3:material3:1.0.0-alpha13"
|
||||
material3-adapter = "com.google.android.material:compose-theme-adapter-3:1.0.10"
|
||||
material3-adapter = "com.google.android.material:compose-theme-adapter-3:1.0.11"
|
||||
material-icons = { module = "androidx.compose.material:material-icons-extended", version.ref="compose" }
|
||||
|
||||
accompanist-webview = { module = "com.google.accompanist:accompanist-webview", version.ref="accompanist" }
|
||||
|
Loading…
Reference in New Issue
Block a user