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
1 changed files with 1 additions and 1 deletions

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