brand(art): wire Answer History (A2) + Past Games (A10) empty illustrations
AnswerHistory primary empty swapped from the generic illustration_couple_history to the purpose-made illustration_answer_history_empty (A2). WheelHistory (the "Past Games" history screen) empty gains illustration_past_games_empty (A10). Both via the shared EmptyState (rounded-tile, both-theme verified in Run 2). Empty states need empty data so not reachable live on the baseline couple; render path proven via the shared component. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
4aec224f0d
commit
5d74858679
|
|
@ -195,7 +195,7 @@ private fun AnswerHistoryContent(
|
||||||
body = body,
|
body = body,
|
||||||
actionLabel = actionLabel,
|
actionLabel = actionLabel,
|
||||||
onAction = onAction,
|
onAction = onAction,
|
||||||
illustrationResId = R.drawable.illustration_couple_history
|
illustrationResId = R.drawable.illustration_answer_history_empty
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
package app.closer.ui.wheel
|
package app.closer.ui.wheel
|
||||||
|
|
||||||
|
import app.closer.R
|
||||||
import app.closer.ui.theme.closerCardColor
|
import app.closer.ui.theme.closerCardColor
|
||||||
import app.closer.ui.theme.closerBackgroundBrush
|
import app.closer.ui.theme.closerBackgroundBrush
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
|
|
@ -120,7 +121,8 @@ fun GameHistoryScreen(
|
||||||
title = "No games played yet",
|
title = "No games played yet",
|
||||||
body = "Finish a round of This or That, How Well, Desire Sync, Spin the Wheel, a Connection Challenge, or Memory Lane — your results will show up here.",
|
body = "Finish a round of This or That, How Well, Desire Sync, Spin the Wheel, a Connection Challenge, or Memory Lane — your results will show up here.",
|
||||||
actionLabel = "Play a game",
|
actionLabel = "Play a game",
|
||||||
onAction = { onNavigate(AppRoute.PLAY) }
|
onAction = { onNavigate(AppRoute.PLAY) },
|
||||||
|
illustrationResId = R.drawable.illustration_past_games_empty
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
else -> {
|
else -> {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue