From a39e7ad2337bee7c252b138df49e73cbe3ebf3e4 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 10 Jun 2018 23:46:00 +0200 Subject: [PATCH] update the front/read camera icon as appropriate at toggling --- .../com/simplemobiletools/camera/views/PreviewCameraTwo.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/camera/views/PreviewCameraTwo.kt b/app/src/main/kotlin/com/simplemobiletools/camera/views/PreviewCameraTwo.kt index 1bcfd31c..104d1d51 100644 --- a/app/src/main/kotlin/com/simplemobiletools/camera/views/PreviewCameraTwo.kt +++ b/app/src/main/kotlin/com/simplemobiletools/camera/views/PreviewCameraTwo.kt @@ -380,6 +380,7 @@ class PreviewCameraTwo : ViewGroup, TextureView.SurfaceTextureListener, MyPrevie mIsFocusSupported = get(CameraCharacteristics.CONTROL_AF_AVAILABLE_MODES).size > 1 } mActivity.setFlashAvailable(mIsFlashSupported) + mActivity.updateCameraIcon(mUseFrontCamera) return } } catch (e: Exception) {