summaryrefslogtreecommitdiff
path: root/cmd/orca/display.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/orca/display.go')
-rw-r--r--cmd/orca/display.go4
1 files changed, 3 insertions, 1 deletions
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)
}
}