Skip to content

Commit

Permalink
fix: Fix default exposure being a bit too bright (#2869)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed May 10, 2024
1 parent 48902df commit 910e99d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -79,7 +79,7 @@ class CameraView(context: Context) :
var isActive = false
var torch: Torch = Torch.OFF
var zoom: Float = 1f // in "factor"
var exposure: Double = 1.0
var exposure: Double = 0.0
var orientation: Orientation = Orientation.PORTRAIT
var androidPreviewViewType: PreviewViewType = PreviewViewType.SURFACE_VIEW
set(value) {
Expand Down
2 changes: 1 addition & 1 deletion package/ios/React/CameraView.swift
Expand Up @@ -56,7 +56,7 @@ public final class CameraView: UIView, CameraSessionDelegate, FpsSampleCollector
@objc var isActive = false
@objc var torch = "off"
@objc var zoom: NSNumber = 1.0 // in "factor"
@objc var exposure: NSNumber = 1.0
@objc var exposure: NSNumber = 0.0
@objc var videoStabilizationMode: NSString?
@objc var resizeMode: NSString = "cover" {
didSet {
Expand Down

0 comments on commit 910e99d

Please sign in to comment.