diff --git a/ui/src/main/java/io/xeres/ui/custom/ChatListCell.java b/ui/src/main/java/io/xeres/ui/custom/ChatListCell.java index 63b7a1ec..ed0c0e48 100644 --- a/ui/src/main/java/io/xeres/ui/custom/ChatListCell.java +++ b/ui/src/main/java/io/xeres/ui/custom/ChatListCell.java @@ -75,7 +75,10 @@ public void reset() { if (isReusable()) { - content.getChildren().remove(2); // keep time and action only + if (content.getChildren().size() > 2) + { + content.getChildren().remove(2); // keep time and action only + } } }