mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-26 15:05:44 +03:00
Clean up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
46fb761499
commit
93184ca6c4
1 changed files with 2 additions and 2 deletions
|
@ -542,7 +542,7 @@ public class CallActivity extends AppCompatActivity {
|
||||||
onCameraClick();
|
onCameraClick();
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (!EffortlessPermissions.hasPermissions(this, PERMISSIONS_CAMERA)) {
|
} else {
|
||||||
cameraControlButton.setImageResource(R.drawable.ic_videocam_off_white_24px);
|
cameraControlButton.setImageResource(R.drawable.ic_videocam_off_white_24px);
|
||||||
if (cameraSwitchButton != null) {
|
if (cameraSwitchButton != null) {
|
||||||
cameraSwitchButton.setVisibility(View.INVISIBLE);
|
cameraSwitchButton.setVisibility(View.INVISIBLE);
|
||||||
|
@ -555,7 +555,7 @@ public class CallActivity extends AppCompatActivity {
|
||||||
if (!audioOn) {
|
if (!audioOn) {
|
||||||
onMicrophoneClick();
|
onMicrophoneClick();
|
||||||
}
|
}
|
||||||
} else if (!EffortlessPermissions.hasPermissions(this, PERMISSIONS_MICROPHONE)) {
|
} else {
|
||||||
microphoneControlButton.setImageResource(R.drawable.ic_mic_off_white_24px);
|
microphoneControlButton.setImageResource(R.drawable.ic_mic_off_white_24px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue