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.

(cherry picked from commit b4bb8556751353c06531b55f3b052217254314c0)
This commit is contained in:
arkon 2023-05-13 22:36:58 -04:00 committed by Jobobby04
parent 539e2f5d57
commit c78a5efc4b
2 changed files with 4 additions and 4 deletions

View File

@ -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) }
}

View File

@ -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" }