aboutsummaryrefslogtreecommitdiff
path: root/source/app
diff options
context:
space:
mode:
authorcirakg <cirakg@cirakg.xyz>2026-10-20 02:43:08 +0200
committercirakg <cirakg@cirakg.xyz>2026-10-20 02:43:08 +0200
commit59255b1a55a81ba2b5de967eefced11910597b48 (patch)
treeba0157cc5ed29d6799c78ca30fa2480c7e81b089 /source/app
parent776a563b97b99b054323dc06f02b4d374805777a (diff)
feat(ui): show barcode entries black on white at the largest whole module size
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'source/app')
-rw-r--r--source/app/Fixtures.mc5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/app/Fixtures.mc b/source/app/Fixtures.mc
index 8ed35c9..114e879 100644
--- a/source/app/Fixtures.mc
+++ b/source/app/Fixtures.mc
@@ -46,10 +46,11 @@ module Fixtures {
vault.add(otp("Library", "frank", "Personal", Entry.OTP_TOTP, Hashes.SHA1, 7, 60, rfcKey, false));
var card = new Entry();
card.kind = Entry.KIND_CODE;
- card.type = 0;
+ card.type = Codes.EAN13;
card.name = "Gym card";
card.group = "Personal";
- card.payload = Bytes.fromUtf8("0000-1111-2222");
+ card.payload = Bytes.fromUtf8("590123412345"); // fake; the check digit 7 is added
+ card.options = Codes.DEFAULT_OPTIONS;
vault.add(card);
vault.lock();
if (TestMode.ON) {