Julian Steenbakker
Committed by GitHub

Merge pull request #83 from towaanu/master

fix exception with adresses when scanning ContactInfo qrcode
... ... @@ -283,7 +283,7 @@ class MobileScanner(private val activity: Activity, private val textureRegistry:
"title" to title, "urls" to urls)
private val Barcode.Address.data: Map<String, Any?>
get() = mapOf("addressLines" to addressLines, "type" to type)
get() = mapOf("addressLines" to addressLines.map { addressLine -> addressLine.toString() }, "type" to type)
private val Barcode.PersonName.data: Map<String, Any?>
get() = mapOf("first" to first, "formattedName" to formattedName, "last" to last,
... ... @@ -314,4 +314,4 @@ class MobileScanner(private val activity: Activity, private val textureRegistry:
private val Barcode.WiFi.data: Map<String, Any?>
get() = mapOf("encryptionType" to encryptionType, "password" to password, "ssid" to ssid)
}
\ No newline at end of file
}
... ...