Apply suggestions from code review

Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
Kai S. K. Engelbart 2020-07-04 14:00:09 +00:00 committed by GitHub
parent 19fdb25bfa
commit 9883a5ddd3

View File

@ -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());
}
/**