add an extra line to the bip-39 display area

turns out you can have 5-line codes.
This commit is contained in:
bunnie 2022-07-13 04:37:14 +08:00
parent 65ee48f100
commit 9569954ab4

View file

@ -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 {