commit | e7ff8bfd4a00e1de4a0e35da883f0099d0a0639f | [log] [tgz] |
---|---|---|
author | LuK1337 <priv.luk@gmail.com> | Sun Aug 28 23:54:31 2022 +0200 |
committer | LuK1337 <priv.luk@gmail.com> | Thu Sep 29 23:44:12 2022 +0200 |
tree | 73b1e36bac23b86ac157b7c4baa572c279ef8472 | |
parent | c18e2b35b1753e8f98ce7db88c191850d216de5b [diff] |
Aperture: Drop unnecessary 'sharedPreferences.' Change-Id: I476c67173b247fc5abf1c6db6b39c56a09058e3b
diff --git a/app/src/main/java/org/lineageos/aperture/MainActivity.kt b/app/src/main/java/org/lineageos/aperture/MainActivity.kt index 8436d2f..9accf30 100644 --- a/app/src/main/java/org/lineageos/aperture/MainActivity.kt +++ b/app/src/main/java/org/lineageos/aperture/MainActivity.kt
@@ -639,7 +639,7 @@ } // Fallback to highest supported video quality - if (!camera.supportedVideoQualities.contains(sharedPreferences.videoQuality)) { + if (!camera.supportedVideoQualities.contains(videoQuality)) { sharedPreferences.videoQuality = camera.supportedVideoQualities.first() }