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