Fixed that informationForUser is nullable

This commit is contained in:
dankito 2024-10-04 07:23:32 +02:00
parent ac7b11e2f6
commit 86e59cc0cc
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ open class EpcQrCodeParser {
// return createInvalidFormatResult("The reconciliation text in line 11, ${lines[10]}, may not be longer than 140 characters.")
// }
val displayText = if (lines.size < 12) null else lines[11]
val displayText = if (lines.size < 12) null else parseToNullableString(lines[11])
// if (displayText != null && displayText.length > 70) { // omit check for parsing
// return createInvalidFormatResult("The display text in line 12, ${displayText}, may not be longer than 70 characters.")
// }