commit | 57774652ea68f2e5561e071053f83c7fcae6d7d3 | [log] [tgz] |
---|---|---|
author | LuK1337 <priv.luk@gmail.com> | Sat Aug 27 21:07:50 2022 +0200 |
committer | LuK1337 <priv.luk@gmail.com> | Thu Sep 29 23:44:12 2022 +0200 |
tree | 098b5b173b86a99d123624d778a95596b862a93e | |
parent | 154babbbf43d06c661d2bd8761428c798e65e3c8 [diff] |
Aperture: Fix extension mode selection in cyclePhotoEffects() Change-Id: I6f759bdf403a1e2095f977f8e2baef87f8265815
diff --git a/app/src/main/java/org/lineageos/aperture/MainActivity.kt b/app/src/main/java/org/lineageos/aperture/MainActivity.kt index b606c70..4c20759 100644 --- a/app/src/main/java/org/lineageos/aperture/MainActivity.kt +++ b/app/src/main/java/org/lineageos/aperture/MainActivity.kt
@@ -1040,7 +1040,7 @@ setExtensionMode( if (extensionMode == supportedExtensionModes.last()) supportedExtensionModes.first() - else supportedExtensionModes.indexOf(extensionMode) + 1 + else supportedExtensionModes[supportedExtensionModes.indexOf(extensionMode) + 1] ) }