mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 06:27:02 +05:30
common: run spotless
This commit is contained in:
parent
80a985bf2d
commit
ba1ae16e87
3 changed files with 18 additions and 25 deletions
|
@ -1,24 +1,20 @@
|
|||
package dev.msfjarvis.claw.common.ui
|
||||
|
||||
import androidx.compose.foundation.layout.requiredSize
|
||||
import androidx.compose.foundation.shape.CircleShape
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.draw.clip
|
||||
import androidx.compose.ui.unit.dp
|
||||
import io.kamel.image.KamelImage
|
||||
import io.kamel.image.lazyImageResource
|
||||
|
||||
@Composable
|
||||
actual fun NetworkImage(
|
||||
url: String,
|
||||
contentDescription: String,
|
||||
modifier: Modifier,
|
||||
url: String,
|
||||
contentDescription: String,
|
||||
modifier: Modifier,
|
||||
) {
|
||||
KamelImage(
|
||||
resource = lazyImageResource(url),
|
||||
contentDescription = contentDescription,
|
||||
modifier = Modifier.then(modifier),
|
||||
crossfade = true,
|
||||
)
|
||||
KamelImage(
|
||||
resource = lazyImageResource(url),
|
||||
contentDescription = contentDescription,
|
||||
modifier = Modifier.then(modifier),
|
||||
crossfade = true,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue