commit | 6291860581a4427ed74a176b0517192050b9dc2e | [log] [tgz] |
---|---|---|
author | Luca Stefani <luca.stefani.ge1@gmail.com> | Thu Aug 11 00:15:30 2022 +0200 |
committer | LuK1337 <priv.luk@gmail.com> | Thu Sep 29 22:22:58 2022 +0200 |
tree | 83f113d5c468136c4121aa188855c50ed21445f9 | |
parent | 1bb4631c4fd0bcec0a84cd1044dfcc67043d04a2 [diff] |
Aperture: Fix typo for capture mode pref Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com> Change-Id: I68c2bc7a09223660b5af1f4c97de11fc06e601c4
diff --git a/app/src/main/java/org/lineageos/aperture/SharedPreferencesExt.kt b/app/src/main/java/org/lineageos/aperture/SharedPreferencesExt.kt index bb13cfe..ade41f6 100644 --- a/app/src/main/java/org/lineageos/aperture/SharedPreferencesExt.kt +++ b/app/src/main/java/org/lineageos/aperture/SharedPreferencesExt.kt
@@ -126,7 +126,7 @@ set(value) { edit { putString( - PHOTO_FLASH_MODE_KEY, when (value) { + PHOTO_CAPTURE_MODE_KEY, when (value) { ImageCapture.CAPTURE_MODE_MAXIMIZE_QUALITY -> "maximize_quality" ImageCapture.CAPTURE_MODE_MINIMIZE_LATENCY -> "minimize_latency" ImageCapture.CAPTURE_MODE_ZERO_SHUTTER_LAG -> "zero_shutter_lag"