all: refactor Modifier ordering

Drawns on the suggestions outlined in https://chris.banes.dev/always-provide-a-modifier/
This commit is contained in:
Harsh Shandilya 2021-10-25 00:47:52 +05:30
parent 2606f2e79b
commit cfd0725605
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
7 changed files with 15 additions and 14 deletions

View file

@ -14,7 +14,7 @@ actual fun NetworkImage(
KamelImage(
resource = lazyPainterResource(url),
contentDescription = contentDescription,
modifier = Modifier.then(modifier),
modifier = modifier,
crossfade = true,
)
}