Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
stevePalmerin committed Jan 8, 2024
1 parent 1191dec commit a91e183
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,9 @@ class QRCodeOnboardingPayloadParser(private val mBase38Representation: String) {
if (tag is ContextSpecificTag) {
info.tag = tag.tagNumber
}
val value = element.value

// update values
val value = element.value
if (value is IntValue) {
info.int32 = value.value.toInt()
info.type = OptionalQRCodeInfoType.TYPE_INT32
Expand Down

0 comments on commit a91e183

Please sign in to comment.