diff options
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/adapter/ConversationAdapter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/adapter/ConversationAdapter.java b/src/main/java/de/pixart/messenger/ui/adapter/ConversationAdapter.java index bcbf6ba3b..d2d001981 100644 --- a/src/main/java/de/pixart/messenger/ui/adapter/ConversationAdapter.java +++ b/src/main/java/de/pixart/messenger/ui/adapter/ConversationAdapter.java @@ -110,13 +110,13 @@ public class ConversationAdapter extends ArrayAdapter<Conversation> { if (unreadcount > 0) { mUnread.setVisibility(View.VISIBLE); - mUnread.setText(String.valueOf(unreadcount)); + mUnread.setText(unreadcount > 99 ? "\u221E" : String.valueOf(unreadcount)); } else { mUnread.setVisibility(View.GONE); } if (failedcount > 0) { mFailed.setVisibility(View.VISIBLE); - mFailed.setText(String.valueOf(failedcount)); + mFailed.setText(failedcount > 99 ? "\u221E" : String.valueOf(failedcount)); } else { mFailed.setVisibility(View.GONE); } |