Skip to content

Commit

Permalink
Remembering image for favorites
Browse files Browse the repository at this point in the history
  • Loading branch information
jakepurple13 committed Apr 25, 2023
1 parent d2bc2f3 commit 303d88e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ fun FavoriteUi(
} else null
showBanner = c == ComponentState.Pressed
},
imageUrl = info.value.randomOrNull()?.imageUrl.orEmpty(),
imageUrl = remember { info.value.randomOrNull()?.imageUrl.orEmpty() },
name = info.key,
placeHolder = logo.logoId,
favoriteIcon = {
Expand Down

0 comments on commit 303d88e

Please sign in to comment.