Fix bad shown camera state in video call menu.
This commit is contained in:
parent
5f48ba809f
commit
0cda12e3e2
1 changed files with 2 additions and 2 deletions
|
@ -55,9 +55,9 @@ public class VideoCallActivity extends Activity {
|
||||||
|
|
||||||
private void rewriteToggleCameraItem(MenuItem item) {
|
private void rewriteToggleCameraItem(MenuItem item) {
|
||||||
if (recordManager.isRecording()) {
|
if (recordManager.isRecording()) {
|
||||||
item.setTitle(getString(R.string.menu_videocall_toggle_camera_enable));
|
|
||||||
} else {
|
|
||||||
item.setTitle(getString(R.string.menu_videocall_toggle_camera_disable));
|
item.setTitle(getString(R.string.menu_videocall_toggle_camera_disable));
|
||||||
|
} else {
|
||||||
|
item.setTitle(getString(R.string.menu_videocall_toggle_camera_enable));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue