Trying to fix screen-transition key used multiple times

This commit is contained in:
Cuong-Tran 2025-01-06 12:00:32 +07:00
parent 21657bdeca
commit 51f545768f
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2

View file

@ -97,7 +97,7 @@ fun ScreenTransition(
if (isPreviewBuildType) {
logcat(LogPriority.ERROR) { "ScreenTransition: ${screen.key}" }
}
navigator.saveableState("screen-transition", screen) {
navigator.saveableState("screen-transition-${screen.key}", screen) {
content(screen)
}
}