commit | f8da1ec66d0c3339f75d2ba2c5831babcdb8120e | [log] [tgz] |
---|---|---|
author | LuK1337 <priv.luk@gmail.com> | Wed Aug 31 22:25:50 2022 +0200 |
committer | LuK1337 <priv.luk@gmail.com> | Thu Sep 29 23:44:12 2022 +0200 |
tree | 578a670e1ba447768cc2be69aea7fb4909c6e36c | |
parent | 50c3f02b78d2dc3e7f06fe3573258f8cb26b3c32 [diff] |
Aperture: Remove unnecessary countDownView.isVisible writes CountDownView already handles that internally. Change-Id: I21602aae628a3abfdee30fd4d7fa8bc03fa3275c
diff --git a/app/src/main/java/org/lineageos/aperture/MainActivity.kt b/app/src/main/java/org/lineageos/aperture/MainActivity.kt index f1487fc..2c3bf35 100644 --- a/app/src/main/java/org/lineageos/aperture/MainActivity.kt +++ b/app/src/main/java/org/lineageos/aperture/MainActivity.kt
@@ -1251,14 +1251,12 @@ } countDownView.setCountDownStatusListener { - countDownView.isVisible = false shutterButton.isEnabled = true runnable() } shutterButton.isEnabled = false - countDownView.isVisible = true val rect = Rect().apply { viewFinder.getGlobalVisibleRect(this)