Skip to content

Commit

Permalink
Fix expect actual files
Browse files Browse the repository at this point in the history
  • Loading branch information
KovalevAndrey committed Oct 24, 2023
1 parent ea038d2 commit 4b03ffa
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.bumble.puzzyx.imageloader

import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.layout.ContentScale

@Composable
expect fun EmbeddableResourceImage(
path: String,
modifier: Modifier = Modifier,
contentDescription: String? = null,
contentScale: ContentScale = ContentScale.Fit,
)
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ import kotlinx.coroutines.withContext
import org.jetbrains.compose.resources.ExperimentalResourceApi
import org.jetbrains.compose.resources.resource

@Composable
expect fun EmbeddableResourceImage(
path: String,
modifier: Modifier = Modifier,
contentDescription: String? = null,
contentScale: ContentScale = ContentScale.Fit,
)

@OptIn(ExperimentalResourceApi::class)
@Composable
internal fun ResourceImage(
Expand Down

0 comments on commit 4b03ffa

Please sign in to comment.