diff --git a/src/main/java/eu/siacs/conversations/ui/widget/UnreadCountCustomView.java b/src/main/java/eu/siacs/conversations/ui/widget/UnreadCountCustomView.java index 36284546..24ece8ef 100644 --- a/src/main/java/eu/siacs/conversations/ui/widget/UnreadCountCustomView.java +++ b/src/main/java/eu/siacs/conversations/ui/widget/UnreadCountCustomView.java @@ -61,7 +61,7 @@ public class UnreadCountCustomView extends View { float textOffset = canvas.getWidth() / 6.0f; textPaint.setTextSize(0.95f * radius); canvas.drawCircle(midx, midy, radius * 0.94f, paint); - canvas.drawText(String.valueOf(unreadCount), midx, midy + textOffset, textPaint); + canvas.drawText(unreadCount > 999 ? "\u221E" : String.valueOf(unreadCount), midx, midy + textOffset, textPaint); }