mirror of
https://github.com/Ashinch/ReadYou.git
synced 2025-02-01 20:07:24 +01:00
fix(ui): add article id to content key
This commit is contained in:
parent
4b594badb7
commit
8b89644d6d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user