fix: Fix exposing userPreferredCameraDevice
on Android
This commit is contained in:
parent
9809075507
commit
aafffa60f6
@ -79,7 +79,7 @@ class CameraDevicesManager(private val reactContext: ReactApplicationContext) :
|
|||||||
|
|
||||||
return mutableMapOf(
|
return mutableMapOf(
|
||||||
"availableCameraDevices" to devices,
|
"availableCameraDevices" to devices,
|
||||||
"userPreferredCameraDevice" to preferredDevice
|
"userPreferredCameraDevice" to preferredDevice?.toHashMap()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user