Skip to content

Commit

Permalink
Handled params and warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Aashay Gaikwad committed Oct 25, 2023
1 parent 0c13453 commit abd3efa
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ import kotlinx.coroutines.withContext
import org.jetbrains.compose.resources.ExperimentalResourceApi
import org.jetbrains.compose.resources.resource

@Suppress("TooGenericExceptionCaught", "SwallowedException")
@OptIn(ExperimentalResourceApi::class)
@Composable
fun ResourceImage(
path: String,
fallbackUrl: String = path,
modifier: Modifier = Modifier,
fallbackUrl: String = path,
contentDescription: String? = null,
contentScale: ContentScale = ContentScale.Fit
) {
Expand Down

0 comments on commit abd3efa

Please sign in to comment.