mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-01-22 11:29:59 +01:00
fix toggling toggle camera visibility
This commit is contained in:
parent
ba979443ad
commit
0bead6f1fb
@ -464,7 +464,7 @@ class MainActivity : SimpleActivity(), SensorEventListener, PreviewListener, Pho
|
||||
}
|
||||
|
||||
private fun showToggleCameraIfNeeded() {
|
||||
toggle_camera.beInvisibleIf(Camera.getNumberOfCameras() > 1)
|
||||
toggle_camera.beInvisibleIf(Camera.getNumberOfCameras() <= 1)
|
||||
}
|
||||
|
||||
override fun onPause() {
|
||||
|
Loading…
Reference in New Issue
Block a user