Prechádzať zdrojové kódy

Revert "Bump to somewhat newer version of Compose BOM"

This reverts commit ce81b76150006b9b23ad5424d49c3de36fb8c090.
Fixes crashes when opening menus. Cascade doesn't have an update
to fix this yet.
arkon 1 rok pred
rodič
commit
b4bb855675

+ 1 - 1
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) }
                 }

+ 3 - 3
gradle/compose.versions.toml

@@ -1,11 +1,11 @@
 [versions]
 compiler = "1.4.7"
-compose-bom = "2023.04.00-alpha02"
-accompanist = "0.31.2-alpha"
+compose-bom = "2023.03.00"
+accompanist = "0.30.1"
 
 [libraries]
 activity = "androidx.activity:activity-compose:1.7.1"
-bom = { module = "dev.chrisbanes.compose:compose-bom", version.ref = "compose-bom" }
+bom = { group = "dev.chrisbanes.compose", name = "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" }