From 61a48e592dea89d856b7a4cb5bf60009f89537fc Mon Sep 17 00:00:00 2001 From: Cuong-Tran Date: Tue, 7 Oct 2025 14:42:48 +0700 Subject: [PATCH] fix(deps): update dependency com.materialkolor:material-kolor to v3 (#1220) --- .../main/java/eu/kanade/presentation/theme/TachiyomiTheme.kt | 3 +-- gradle/libs.versions.toml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/kanade/presentation/theme/TachiyomiTheme.kt b/app/src/main/java/eu/kanade/presentation/theme/TachiyomiTheme.kt index fc2a922f2..d41dec630 100644 --- a/app/src/main/java/eu/kanade/presentation/theme/TachiyomiTheme.kt +++ b/app/src/main/java/eu/kanade/presentation/theme/TachiyomiTheme.kt @@ -68,8 +68,7 @@ fun TachiyomiTheme( if (seedColor != null) { DynamicMaterialTheme( seedColor = seedColor, - useDarkTheme = isSystemInDarkTheme(), - withAmoled = isAmoled, + isAmoled = isAmoled, style = uiPreferences.themeCoverBasedStyle().get(), typography = typography, animate = true, diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8d2a60658..7c066940f 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -65,7 +65,7 @@ compose-webview = "io.github.kevinnzou:compose-webview:0.33.6" compose-grid = "io.woong.compose.grid:grid:1.2.2" reorderable = { module = "sh.calvin.reorderable:reorderable", version = "3.0.0" } palette-ktx = "androidx.palette:palette-ktx:1.0.0" -materialKolor = "com.materialkolor:material-kolor:2.1.1" +materialKolor = "com.materialkolor:material-kolor:3.0.1" haze = "dev.chrisbanes.haze:haze:1.6.10" swipe = "me.saket.swipe:swipe:1.3.0"