Revert "Bump to somewhat newer version of Compose BOM"

This reverts commit ce81b76150.
Fixes crashes when opening menus. Cascade doesn't have an update
to fix this yet.
This commit is contained in:
arkon 2023-05-13 22:36:58 -04:00
parent 6263a52777
commit b4bb855675
2 changed files with 4 additions and 4 deletions

View File

@ -114,7 +114,7 @@ fun WebViewScreenContent(
) { contentPadding -> ) { contentPadding ->
val webClient = remember { val webClient = remember {
object : AccompanistWebViewClient() { 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) super.onPageStarted(view, url, favicon)
url?.let { onUrlChange(it) } url?.let { onUrlChange(it) }
} }

View File

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