From 9569954ab401b7015992ec8d62e9c101232cd45e Mon Sep 17 00:00:00 2001 From: bunnie Date: Wed, 13 Jul 2022 04:37:14 +0800 Subject: [PATCH] add an extra line to the bip-39 display area turns out you can have 5-line codes. --- services/gam/src/modal/bip39entry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/gam/src/modal/bip39entry.rs b/services/gam/src/modal/bip39entry.rs index ca8147e60..46caaead3 100644 --- a/services/gam/src/modal/bip39entry.rs +++ b/services/gam/src/modal/bip39entry.rs @@ -67,7 +67,7 @@ impl Bip39Entry { const NUM_RECCOS: i16 = 5; const AESTHETIC_GAP: i16 = 5; const STYLE_OVERRIDE: GlyphStyle = GlyphStyle::Bold; -const ACCEPTED_WORD_LINES: i16 = 4; +const ACCEPTED_WORD_LINES: i16 = 5; // all 0's key requires 5 lines (abandon abandon abandon....art) const STATUS_LINES: i16 = 3; impl ActionApi for Bip39Entry {