Keep loaded title refreshes stable and guard request identities
All checks were successful
review/code-claude Code APPROVE: no stale data, request guard recovers via toast
review/design-claude Design PASS: no look change beyond flash removal

This commit is contained in:
justinzeus 2026-11-07 22:16:30 +01:00
parent b51dced5fe
commit 5f759b8fef
11 changed files with 305 additions and 39 deletions

View file

@ -40,4 +40,5 @@ fun RecoveryToast(message: String, modifier: Modifier = Modifier) {
object RecoveryMessage {
const val StillUnreachable = "Still can’t reach it. The last saved view stays on screen."
const val PlaybackUnavailable = "Can’t reach Jellyfin to play. Check the network and try again."
const val TitleActionUnavailable = "Can’t update this title right now."
}

View file

@ -201,7 +201,8 @@ class TitleState(
val hidden = id == "hide"
data = data.copy(hidden = hidden)
onAction(TitleAction.Hide(data.item, hidden))
if (hidden) { sheetIndex = 0; sheet = TitleSheet.HiddenReceipt } else toast = "Back in your picks."
if (hidden && data.hidden) { sheetIndex = 0; sheet = TitleSheet.HiddenReceipt }
else if (!hidden && !data.hidden) toast = "Back in your picks."
}
}
}