Merge branch 'f/enhanced_UI' of git@github.com:informatik-ag-ngl/envoy-client.git into f/enhanced_UI

This commit is contained in:
delvh 2020-06-26 17:33:49 +02:00
commit d11b1363f9
2 changed files with 5 additions and 3 deletions

View File

@ -39,7 +39,10 @@ public class ContactListCell extends ListCell<Contact> {
final var statusLabel = new Label(user.getStatus().toString());
statusLabel.getStyleClass().add(user.getStatus().toString().toLowerCase());
vbox.getChildren().add(statusLabel);
} else vbox.getChildren().add(new Label(((Group) contact).getContacts().size() + " members"));
} else {
// Member count
vbox.getChildren().add(new Label(((Group) contact).getContacts().size() + " members"));
}
setGraphic(vbox);
}
}

View File

@ -322,7 +322,7 @@ public final class ChatScene {
*/
private void scrollToMessageListEnd() { messageList.scrollTo(messageList.getItems().size() - 1); }
// =========== contextMenu actions ========== //
// Context menu actions
@FXML
private void copyMessage() {
@ -354,5 +354,4 @@ public final class ChatScene {
updateRemainingCharsLabel();
postButton.setDisable(messageText.isBlank());
}
}