From 299b5b67aa80ba2539d7a91c60943060b0426b45 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 1 Oct 2026 04:45:05 -0400 Subject: fix: light mode casino card rendering, video poker machine names --- internal/casino/video_poker_config.go | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'internal/casino/video_poker_config.go') diff --git a/internal/casino/video_poker_config.go b/internal/casino/video_poker_config.go index 918fed3..78a772d 100644 --- a/internal/casino/video_poker_config.go +++ b/internal/casino/video_poker_config.go @@ -130,20 +130,24 @@ func variantTitle(v string) string { } return v } -func (c VideoPokerConfig) CabinetLabel() string { +func (c VideoPokerConfig) CabinetName() string { c = c.Normalize() - label := "Classic Video Poker" switch c.Cabinet { case CabinetUXSingle: - label = "Ultimate X Single Line" + return "Ultimate X Single Line" case CabinetUXMulti: - label = "Ultimate X Multi-Hand" + return "Ultimate X Multi-Hand" case CabinetSuperTimesPay: - label = "Super Times Pay" + return "Super Times Pay" case CabinetHotRoll: - label = "Hot Roll" + return "Hot Roll" } - return label + " / " + c.Payout + " pay" + return "Classic Video Poker" +} + +func (c VideoPokerConfig) CabinetLabel() string { + c = c.Normalize() + return c.CabinetName() + " / " + c.Payout + " pay" } func (c VideoPokerConfig) Normalize() VideoPokerConfig { if c.Cabinet == "" { -- cgit v1.2.3