Split FirmaEC names after second word for 4+ words in 1.2.27
This commit is contained in:
@@ -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(' '),
|
||||
|
||||
Reference in New Issue
Block a user