commit | 353926dafb88eba7b420eaf2cbd1a0750d6558ac | [log] [tgz] |
---|---|---|
author | LuK1337 <priv.luk@gmail.com> | Sun Aug 14 16:45:45 2022 +0200 |
committer | LuK1337 <priv.luk@gmail.com> | Thu Sep 29 22:28:28 2022 +0200 |
tree | 18f5ed6b196f6a58bf89a9383e7b8560808f119e | |
parent | 8c2fa31e50c61f797c80678903055517027e529f [diff] |
Aperture: Fix broken exception msg Change-Id: I9cae44c9638c418f809078e2866cf0bbfab47714
diff --git a/app/src/main/java/org/lineageos/aperture/MainActivity.kt b/app/src/main/java/org/lineageos/aperture/MainActivity.kt index 0d2f19f..0257b37 100644 --- a/app/src/main/java/org/lineageos/aperture/MainActivity.kt +++ b/app/src/main/java/org/lineageos/aperture/MainActivity.kt
@@ -704,7 +704,7 @@ aspectRatioButton.text = when (sharedPreferences.aspectRatio) { AspectRatio.RATIO_4_3 -> "4:3" AspectRatio.RATIO_16_9 -> "16:9" - else -> throw Exception("Unknown aspect ratio $sharedPreferences.aspectRatio") + else -> throw Exception("Unknown aspect ratio ${sharedPreferences.aspectRatio}") } }