Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
parent
4bf785d896
commit
6df3590f22
@ -178,7 +178,7 @@ public final class ChatScene {
|
||||
if (!client.isOnline()) updateInfoLabel("You are offline", "infoLabel-info");
|
||||
|
||||
recorder = new AudioRecorder();
|
||||
if (!recorder.isSupported()) voiceButton.setDisable(true);
|
||||
voiceButton.setDisable(!recorder.isSupported());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user