Aperture: Hide shutter sounds option instead of disabling it
Change-Id: I5da106e653c608ea3613424a441562ab0eaccaea
diff --git a/app/src/main/java/org/lineageos/aperture/SettingsActivity.kt b/app/src/main/java/org/lineageos/aperture/SettingsActivity.kt
index 8a5743d..8b39813 100644
--- a/app/src/main/java/org/lineageos/aperture/SettingsActivity.kt
+++ b/app/src/main/java/org/lineageos/aperture/SettingsActivity.kt
@@ -74,7 +74,7 @@
true
}
}
- shutterSound?.isEnabled = !CameraSoundsUtils.mustPlaySounds
+ shutterSound?.isVisible = !CameraSoundsUtils.mustPlaySounds
}
@SuppressLint("UnsafeOptInUsageError")
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 60fc1ab..a5d0436 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -53,7 +53,7 @@
<string name="save_location_summary">Include GPS location in metadata</string>
<string name="save_location_toast">Location permissions not granted by the user.</string>
<string name="shutter_sound_title">Shutter sound</string>
- <string name="shutter_sound_summary">Note: In some countries this setting will be ignored</string>
+ <string name="shutter_sound_summary">Play a sound on capture</string>
<!-- Photo Preferences -->
<string name="photo_capture_mode_title">Capture mode</string>