This commit is contained in:
Niels Andriesse 2020-01-24 10:00:20 +11:00
parent 93e1cd7756
commit 25cd9e6cc7

View File

@ -3143,8 +3143,8 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
if (publicChat != null) { if (publicChat != null) {
Integer userCount = DatabaseFactory.getLokiAPIDatabase(this).getUserCount(publicChat.getChannel(), publicChat.getServer()); Integer userCount = DatabaseFactory.getLokiAPIDatabase(this).getUserCount(publicChat.getChannel(), publicChat.getServer());
if (userCount == null) { userCount = 0; } if (userCount == null) { userCount = 0; }
if (userCount > 2500) { if (userCount >= 200) {
actionBarSubtitleTextView.setText("2500+ members"); actionBarSubtitleTextView.setText("200+ members");
} else { } else {
actionBarSubtitleTextView.setText(userCount + " members"); actionBarSubtitleTextView.setText(userCount + " members");
} }