Skip to content

Commit

Permalink
fix id issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SEAbdulbasit committed Apr 3, 2024
1 parent 1d7d997 commit 9caf5d4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ agp.version=7.4.2

#Versions
kotlin.version=1.9.20
compose.version=1.5.10
compose.wasm.version=1.6.0-beta01
compose.version=1.6.1
compose.wasm.version=1.6.1
org.jetbrains.compose.experimental.wasm.enabled=true
org.jetbrains.compose.experimental.jscanvas.enabled=true
compose.compiler.version=1.5.3
Expand Down
1 change: 1 addition & 0 deletions shared/src/commonMain/kotlin/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import model.recipesList
import org.jetbrains.compose.resources.ExperimentalResourceApi
import org.jetbrains.compose.resources.Font
import recipeappkmp.shared.generated.resources.Res
import recipeappkmp.shared.generated.resources.*
import recipeslist.RecipesListScreen
import sensor.SensorManager
import sharedelementtransaction.*
Expand Down
1 change: 1 addition & 0 deletions shared/src/commonMain/kotlin/details/IngradientItem.kt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import model.Recipe
import org.jetbrains.compose.resources.ExperimentalResourceApi
import org.jetbrains.compose.resources.painterResource
import recipeappkmp.shared.generated.resources.Res
import recipeappkmp.shared.generated.resources.chef

@OptIn(ExperimentalResourceApi::class)
@Composable
Expand Down
4 changes: 2 additions & 2 deletions shared/src/commonMain/kotlin/details/RecipeDetailsLarge.kt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ fun RecipeDetailsLarge(
}
) {
SharedMaterialContainer(
key = "$recipe ",
key = "${recipe.id}",
screenKey = DetailsScreen,
color = recipe.bgColor,
shape = RoundedCornerShape(topEnd = 35.dp, bottomEnd = 35.dp),
Expand Down Expand Up @@ -193,7 +193,7 @@ fun RecipeDetailsLarge(
.align(Alignment.Center)
) {
SharedMaterialContainer(
key = recipe.image,
key = recipe.image.toString(),
screenKey = "DetailsScreen",
color = Color.Transparent,
transitionSpec = FadeOutTransitionSpec
Expand Down
1 change: 1 addition & 0 deletions shared/src/commonMain/kotlin/model/ExampleData.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import org.jetbrains.compose.resources.ExperimentalResourceApi
import pinkLight
import primary
import recipeappkmp.shared.generated.resources.Res
import recipeappkmp.shared.generated.resources.*
import red
import sugar
import yellow
Expand Down

0 comments on commit 9caf5d4

Please sign in to comment.