We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f78e50 commit b7d3568Copy full SHA for b7d3568
1 file changed
app/src/main/java/app/grapheneos/camera/CamConfig.kt
@@ -1303,7 +1303,13 @@ class CamConfig(private val mActivity: MainActivity) {
1303
1304
loadTabs()
1305
1306
- camera?.cameraInfo?.zoomState?.observe(mActivity) {
+ val cameraInfo = camera!!.cameraInfo
1307
+
1308
+ if (cameraInfo.isLowLightBoostSupported && lowLightBoost) {
1309
+ camera!!.cameraControl.enableLowLightBoostAsync(lowLightBoost)
1310
+ }
1311
1312
+ cameraInfo.zoomState?.observe(mActivity) {
1313
if (it.linearZoom != 0f || it.zoomRatio != 1f) {
1314
mActivity.zoomBar.updateThumb()
1315
}
0 commit comments