fix(deps): update android.gradle.plugin to v8.10.0 (#4687)

* fix(deps): update android.gradle.plugin to v8.10.0

* Update lint version to 8.11.0-alpha09

* Fix lint false positive.

Error: Modifier factory functions must use the receiver Modifier instance [ModifierFactoryUnreferencedReceiver from androidx.compose.ui]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
This commit is contained in:
renovate[bot] 2025-05-07 11:07:20 +02:00 committed by GitHub
parent 8ca5f8bc9d
commit 5fb0fc0d50
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 8 deletions

View file

@ -14,7 +14,7 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.unit.dp
fun Modifier.clickableIfNotNull(onClick: (() -> Unit)? = null): Modifier = then(
fun Modifier.clickableIfNotNull(onClick: (() -> Unit)? = null): Modifier = this.then(
if (onClick != null) {
Modifier.clickable { onClick() }
} else {

View file

@ -177,7 +177,7 @@ private fun Modifier.withAccessibilityModifier(
content: ListItemContent?,
enabled: Boolean,
onClick: (() -> Unit)?,
): Modifier = then(
): Modifier = this.then(
when (content) {
is ListItemContent.Checkbox -> {
Modifier.toggleable(