fix(home): use daily question art before answers
This commit is contained in:
parent
b99a83388e
commit
6bd28d34e4
|
|
@ -1015,11 +1015,11 @@ private fun PrimaryHomeActionCard(
|
||||||
val colors = action.tone.actionColors()
|
val colors = action.tone.actionColors()
|
||||||
val isDark = isCloserDarkTheme()
|
val isDark = isCloserDarkTheme()
|
||||||
// Daily-question art escalates with the ritual:
|
// Daily-question art escalates with the ritual:
|
||||||
// partner prompt before anyone answers, answer cards while one partner is waiting,
|
// answer cards before anyone answers, partner prompt while one partner is waiting,
|
||||||
// then a dedicated reveal-ready illustration once both answered.
|
// then a dedicated reveal-ready illustration once both answered.
|
||||||
val artRes = if (action.target == HomeActionTarget.DailyQuestion) {
|
val artRes = if (action.target == HomeActionTarget.DailyQuestion) {
|
||||||
when (dailyQuestionState) {
|
when (dailyQuestionState) {
|
||||||
DailyQuestionState.UNANSWERED -> R.drawable.illustration_tonight_partner_prompt
|
DailyQuestionState.UNANSWERED -> R.drawable.illustration_daily_question
|
||||||
DailyQuestionState.BOTH_ANSWERED -> R.drawable.illustration_daily_reveal_ready
|
DailyQuestionState.BOTH_ANSWERED -> R.drawable.illustration_daily_reveal_ready
|
||||||
else -> homePrimaryArt(action.target)
|
else -> homePrimaryArt(action.target)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue