fix: Remove exposure TODOs (#2177)

* fix: Remove exposure TODOs

* fix: Make `exposure` a Double
This commit is contained in:
Marc Rousavy
2023-11-19 15:38:36 +01:00
committed by GitHub
parent ef58d13b87
commit 95a309808e
5 changed files with 4 additions and 4 deletions

View File

@@ -145,7 +145,7 @@ class CameraViewManager : ViewGroupManager<CameraView>() {
@ReactProp(name = "exposure")
fun setExposure(view: CameraView, exposure: Double) {
view.exposure = exposure.toFloat()
view.exposure = exposure
}
@ReactProp(name = "orientation")