mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
Clean
This commit is contained in:
parent
93e1cd7756
commit
25cd9e6cc7
@ -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");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user