mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-01-12 06:56:49 +01:00
flip the icons used at toggle front/rear camera
This commit is contained in:
parent
7e42da897a
commit
2c26981fd0
@ -258,8 +258,8 @@ class MainActivity : SimpleActivity(), PhotoProcessor.MediaSavedListener {
|
||||
toggle_flash.setImageResource(flashDrawable)
|
||||
}
|
||||
|
||||
fun updateCameraIcon(showFront: Boolean) {
|
||||
toggle_camera.setImageResource(if (showFront) R.drawable.ic_camera_front else R.drawable.ic_camera_rear)
|
||||
fun updateCameraIcon(isUsingFrontCamera: Boolean) {
|
||||
toggle_camera.setImageResource(if (isUsingFrontCamera) R.drawable.ic_camera_rear else R.drawable.ic_camera_front)
|
||||
}
|
||||
|
||||
private fun shutterPressed() {
|
||||
|
Loading…
Reference in New Issue
Block a user