Add language-only opponent personas

This commit is contained in:
Jay
2026-07-26 20:42:36 -04:00
parent 843957d154
commit b8087a9872
14 changed files with 613 additions and 1 deletions
@@ -52,6 +52,7 @@ fun TableScreen(vm: PokerViewModel) {
val offer = state.liveOffer(rawOffer)
val handSummary = state.visibleHandSummary()
val coachReview = state.visibleCoachReview()
val tableTalk = state.visibleTableTalk()
val status = snap?.let(::tableStatus)
Column(
@@ -116,6 +117,15 @@ fun TableScreen(vm: PokerViewModel) {
maxLines = 1,
overflow = TextOverflow.Ellipsis,
)
Text(
text = tableTalk?.let { "${it.speakerName}: “${it.text}" }.orEmpty(),
color = Color.White.copy(alpha = 0.68f),
fontSize = 12.sp,
fontWeight = FontWeight.Medium,
modifier = Modifier.height(22.dp),
maxLines = 1,
overflow = TextOverflow.Ellipsis,
)
Spacer(Modifier.height(4.dp))
Row(horizontalArrangement = Arrangement.spacedBy(4.dp)) {
val board = snap?.board.orEmpty()