mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Refactor: Use android plural handling
This commit is contained in:
@@ -3198,7 +3198,7 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
||||
else if (view instanceof ChatUnreadCell)
|
||||
{
|
||||
ChatUnreadCell unreadCell = (ChatUnreadCell) view;
|
||||
unreadCell.setText(LocaleController.formatPluralString("NewMessages", markerUnreadCount));
|
||||
unreadCell.setText(mContext.getResources().getQuantityString(R.plurals.NewMessages, markerUnreadCount, markerUnreadCount));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user