From ce81b76150006b9b23ad5424d49c3de36fb8c090 Mon Sep 17 00:00:00 2001 From: arkon Date: Fri, 12 May 2023 18:10:03 -0400 Subject: [PATCH] Bump to somewhat newer version of Compose BOM --- .../eu/kanade/presentation/webview/WebViewScreenContent.kt | 2 +- gradle/compose.versions.toml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/eu/kanade/presentation/webview/WebViewScreenContent.kt b/app/src/main/java/eu/kanade/presentation/webview/WebViewScreenContent.kt index 661ae3fc89..5b607b8a2c 100644 --- a/app/src/main/java/eu/kanade/presentation/webview/WebViewScreenContent.kt +++ b/app/src/main/java/eu/kanade/presentation/webview/WebViewScreenContent.kt @@ -114,7 +114,7 @@ fun WebViewScreenContent( ) { contentPadding -> val webClient = remember { object : AccompanistWebViewClient() { - override fun onPageStarted(view: WebView?, url: String?, favicon: Bitmap?) { + override fun onPageStarted(view: WebView, url: String?, favicon: Bitmap?) { super.onPageStarted(view, url, favicon) url?.let { onUrlChange(it) } } diff --git a/gradle/compose.versions.toml b/gradle/compose.versions.toml index f347f3503b..3a7c7cbf81 100644 --- a/gradle/compose.versions.toml +++ b/gradle/compose.versions.toml @@ -1,11 +1,11 @@ [versions] compiler = "1.4.4" -compose-bom = "2023.03.00" -accompanist = "0.30.1" +compose-bom = "2023.04.00-alpha02" +accompanist = "0.31.2-alpha" [libraries] activity = "androidx.activity:activity-compose:1.7.1" -bom = { group = "dev.chrisbanes.compose", name = "compose-bom", version.ref = "compose-bom" } +bom = { module = "dev.chrisbanes.compose:compose-bom", version.ref = "compose-bom" } foundation = { module = "androidx.compose.foundation:foundation" } animation = { module = "androidx.compose.animation:animation" } animation-graphics = { module = "androidx.compose.animation:animation-graphics" }