Fixed that informationForUser is nullable
This commit is contained in:
parent
ac7b11e2f6
commit
86e59cc0cc
|
@ -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.")
|
||||
// }
|
||||
|
|
Loading…
Reference in New Issue