mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 10:47:46 +00:00
Clean
This commit is contained in:
parent
93e1cd7756
commit
25cd9e6cc7
@ -3143,8 +3143,8 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||
if (publicChat != null) {
|
||||
Integer userCount = DatabaseFactory.getLokiAPIDatabase(this).getUserCount(publicChat.getChannel(), publicChat.getServer());
|
||||
if (userCount == null) { userCount = 0; }
|
||||
if (userCount > 2500) {
|
||||
actionBarSubtitleTextView.setText("2500+ members");
|
||||
if (userCount >= 200) {
|
||||
actionBarSubtitleTextView.setText("200+ members");
|
||||
} else {
|
||||
actionBarSubtitleTextView.setText(userCount + " members");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user