Aperture: Remove argument from update{Primary,Secondary}BarButtons

Change-Id: Ieffe65a10b82c058298783910187e9c76a2d073c
diff --git a/app/src/main/java/org/lineageos/aperture/MainActivity.kt b/app/src/main/java/org/lineageos/aperture/MainActivity.kt
index fcf8ab4..76a7138 100644
--- a/app/src/main/java/org/lineageos/aperture/MainActivity.kt
+++ b/app/src/main/java/org/lineageos/aperture/MainActivity.kt
@@ -131,8 +131,8 @@
     private var cameraState = CameraState.IDLE
         set(value) {
             field = value
-            updateSecondaryBarButtons(value)
-            updatePrimaryBarButtons(value)
+            updateSecondaryBarButtons()
+            updatePrimaryBarButtons()
         }
 
     private lateinit var camera: PhysicalCamera
@@ -873,7 +873,7 @@
     /**
      * Enable or disable secondary bar buttons
      */
-    private fun updateSecondaryBarButtons(cameraState: CameraState) {
+    private fun updateSecondaryBarButtons() {
         runOnUiThread {
             timerButton.isEnabled = cameraState == CameraState.IDLE
             aspectRatioButton.isEnabled = cameraState == CameraState.IDLE
@@ -890,7 +890,7 @@
     /**
      * Enable or disable primary bar buttons
      */
-    private fun updatePrimaryBarButtons(cameraState: CameraState) {
+    private fun updatePrimaryBarButtons() {
         runOnUiThread {
             galleryButton.isEnabled = cameraState == CameraState.IDLE
             // Shutter button must stay enabled