mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-26 06:55:42 +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();
|
||||
}
|
||||
|
||||
} else if (!EffortlessPermissions.hasPermissions(this, PERMISSIONS_CAMERA)) {
|
||||
} else {
|
||||
cameraControlButton.setImageResource(R.drawable.ic_videocam_off_white_24px);
|
||||
if (cameraSwitchButton != null) {
|
||||
cameraSwitchButton.setVisibility(View.INVISIBLE);
|
||||
|
@ -555,7 +555,7 @@ public class CallActivity extends AppCompatActivity {
|
|||
if (!audioOn) {
|
||||
onMicrophoneClick();
|
||||
}
|
||||
} else if (!EffortlessPermissions.hasPermissions(this, PERMISSIONS_MICROPHONE)) {
|
||||
} else {
|
||||
microphoneControlButton.setImageResource(R.drawable.ic_mic_off_white_24px);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue