Skip to content

Commit

Permalink
fix(ui): add article id to content key
Browse files Browse the repository at this point in the history
  • Loading branch information
JunkFood02 committed Feb 19, 2024
1 parent 4b594ba commit 8b89644
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ fun ReadingPage(
// Content
AnimatedContent(
targetState = readerState,
contentKey = { it.content },
contentKey = { it.articleId + it.content.text },
transitionSpec = {
val direction = when {
initialState.nextArticleId == targetState.articleId -> UPWARD
Expand Down

0 comments on commit 8b89644

Please sign in to comment.