Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Antoine Muller
2022-03-28 18:17:16 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8e9b36f788a5101b0ac78bf5e29516f3f8ee02a6
8e9b36f7
1 parent
64f176f7
fix exception with adresses when scanning ContactInfo qrcode
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
android/src/main/kotlin/dev/steenbakker/mobile_scanner/MobileScanner.kt
android/src/main/kotlin/dev/steenbakker/mobile_scanner/MobileScanner.kt
View file @
8e9b36f
...
...
@@ -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
}
...
...
Please
register
or
login
to post a comment