Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -283,7 +283,7 @@ class MobileScanner(private val activity: Activity, private val textureRegistry: | @@ -283,7 +283,7 @@ class MobileScanner(private val activity: Activity, private val textureRegistry: | ||
| 283 | "title" to title, "urls" to urls) | 283 | "title" to title, "urls" to urls) |
| 284 | 284 | ||
| 285 | private val Barcode.Address.data: Map<String, Any?> | 285 | private val Barcode.Address.data: Map<String, Any?> |
| 286 | - get() = mapOf("addressLines" to addressLines, "type" to type) | 286 | + get() = mapOf("addressLines" to addressLines.map { addressLine -> addressLine.toString() }, "type" to type) |
| 287 | 287 | ||
| 288 | private val Barcode.PersonName.data: Map<String, Any?> | 288 | private val Barcode.PersonName.data: Map<String, Any?> |
| 289 | get() = mapOf("first" to first, "formattedName" to formattedName, "last" to last, | 289 | get() = mapOf("first" to first, "formattedName" to formattedName, "last" to last, |
| @@ -314,4 +314,4 @@ class MobileScanner(private val activity: Activity, private val textureRegistry: | @@ -314,4 +314,4 @@ class MobileScanner(private val activity: Activity, private val textureRegistry: | ||
| 314 | 314 | ||
| 315 | private val Barcode.WiFi.data: Map<String, Any?> | 315 | private val Barcode.WiFi.data: Map<String, Any?> |
| 316 | get() = mapOf("encryptionType" to encryptionType, "password" to password, "ssid" to ssid) | 316 | get() = mapOf("encryptionType" to encryptionType, "password" to password, "ssid" to ssid) |
| 317 | -} | ||
| 317 | +} |
-
Please register or login to post a comment