From 1c8205cff6432248212a160a7a86b8c896dd2a8d Mon Sep 17 00:00:00 2001 From: Kevin Wallace Date: Sun, 26 Apr 2026 08:18:53 -0700 Subject: cvend wip --- cmd/orca/display.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmd/orca/display.go') diff --git a/cmd/orca/display.go b/cmd/orca/display.go index 5bd4f87..7eaf778 100644 --- a/cmd/orca/display.go +++ b/cmd/orca/display.go @@ -102,7 +102,9 @@ func drawDisplay(img draw.Image, s displayState) { drawText(img, notoSans_Regular, 16, justifyCenter, color.White, fixed.P(400, 25), "V1234567-D98765") draw.Draw(img, orcaImg.Bounds().Add(image.Point{400 - orcaImg.Bounds().Dx()/2, 75}), orcaImg, image.Point{}, draw.Over) if s.cvend.ready { - drawText(img, notoSans_Bold, 48, justifyCenter, color.White, fixed.P(400, 330), "Tap below") + if !s.cvend.hasCard { + drawText(img, notoSans_Bold, 48, justifyCenter, color.White, fixed.P(400, 330), "Tap below") + } draw.Draw(img, belowImg.Bounds().Add(image.Point{400 - belowImg.Bounds().Dx()/2, 380}), belowImg, image.Point{}, draw.Over) } } -- cgit v1.2.3