diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 3405c8ce1..a683e4f74 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] accompanist = "0.36.0" -agp = "8.7.0-beta02" +agp = "8.7.0" androidx-activity = "1.10.0-alpha02" androidx-core = "1.15.0-beta01" androidx-sqlite = "2.5.0-alpha09" @@ -214,7 +214,7 @@ kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotl kotlinx-immutable = "org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.8" kotlinx-serialization-core = { module = "org.jetbrains.kotlinx:kotlinx-serialization-core", version.ref = "kotlinx-serialization" } -lints-compose = "com.slack.lint.compose:compose-lint-checks:1.3.1" +lints-compose = "com.slack.lint.compose:compose-lint-checks:1.4.1" markdown = { module = "com.mikepenz:multiplatform-markdown-renderer-m3", version.ref = "markdown" } diff --git a/libraries/base-ui/lint-baseline.xml b/libraries/base-ui/lint-baseline.xml deleted file mode 100644 index 62b01a35b..000000000 --- a/libraries/base-ui/lint-baseline.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - diff --git a/libraries/compose-extensions/lint-baseline.xml b/libraries/compose-extensions/lint-baseline.xml index 49d677f87..0be0eccd6 100644 --- a/libraries/compose-extensions/lint-baseline.xml +++ b/libraries/compose-extensions/lint-baseline.xml @@ -1,5 +1,5 @@ - + - - - - - - - - - - - - - - - - diff --git a/libraries/compose-extensions/src/main/kotlin/catchup/compose/WidthAwareContent.kt b/libraries/compose-extensions/src/main/kotlin/catchup/compose/WidthAwareContent.kt index 0ba19a073..813cbf419 100644 --- a/libraries/compose-extensions/src/main/kotlin/catchup/compose/WidthAwareContent.kt +++ b/libraries/compose-extensions/src/main/kotlin/catchup/compose/WidthAwareContent.kt @@ -20,6 +20,7 @@ fun columnCount(minColumns: Int, minColumnWidth: Dp = 250.dp): Int { return (availableWidth / minWidthPx).toInt().coerceAtLeast(minColumns) } +@Suppress("ComposeContentEmitterReturningValues") @Composable fun rememberAvailableWidth(): Float { var availableWidth by remember { mutableFloatStateOf(0f) }