fix: Fix exposing userPreferredCameraDevice on Android

This commit is contained in:
Marc Rousavy 2023-09-21 17:02:15 +02:00
parent 9809075507
commit aafffa60f6

View File

@ -79,7 +79,7 @@ class CameraDevicesManager(private val reactContext: ReactApplicationContext) :
return mutableMapOf(
"availableCameraDevices" to devices,
"userPreferredCameraDevice" to preferredDevice
"userPreferredCameraDevice" to preferredDevice?.toHashMap()
)
}