feat(core/camera_tweaks): black photos

This commit is contained in:
rhunk
2023-11-08 17:30:48 +01:00
parent 8823093b30
commit 81f626cc3b
3 changed files with 24 additions and 0 deletions

View File

@ -434,6 +434,10 @@
"name": "Disable Camera",
"description": "Prevents Snapchat from using the cameras available on your device"
},
"black_photos": {
"name": "Black Photos",
"description": "Replaces captured photos with a black background\nVideos are not affected"
},
"immersive_camera_preview": {
"name": "Immersive Preview",
"description": "Prevents Snapchat from Cropping the Camera preview\nThis might cause the camera to flicker on some devices"

View File

@ -40,6 +40,7 @@ class Camera : ConfigContainer() {
val disable = boolean("disable_camera")
val immersiveCameraPreview = boolean("immersive_camera_preview") { addNotices(FeatureNotice.UNSTABLE) }
val blackPhotos = boolean("black_photos")
val overridePreviewResolution get() = _overridePreviewResolution
val overridePictureResolution get() = _overridePictureResolution
val customFrameRate = unique("custom_frame_rate",