Skip to content

Commit

Permalink
Fix freeze bug (really)
Browse files Browse the repository at this point in the history
  • Loading branch information
zapek committed Dec 26, 2024
1 parent 5273d51 commit 5443ae6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/src/main/java/io/xeres/ui/custom/ChatListCell.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}

Expand Down

0 comments on commit 5443ae6

Please sign in to comment.