Split FirmaEC names after second word for 4+ words in 1.2.27

This commit is contained in:
2026-05-22 14:46:10 -05:00
parent 3c9aefa10e
commit bc28441531
9 changed files with 14 additions and 10 deletions
@@ -66,7 +66,7 @@ function getFirmaEcNameLines(signerName, font, size, maxWidth) {
.split(/\s+/)
.filter(Boolean);
if (words.length === 4) {
if (words.length >= 4) {
return [
words.slice(0, 2).join(' '),
words.slice(2).join(' '),