Skip to content
This repository was archived by the owner on May 30, 2019. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -860,8 +860,11 @@ public void onClick(DialogInterface dialog, int which) {
.getCount()];
for( int i = 0; i < pagerAdapter.getCount(); i++ ) {
Conversation c = pagerAdapter.getItem(i);
CharSequence title = (c.getName().equals("") ? server.getTitle() : c
SpannableString chan = new SpannableString(c.getName().equals("") ? server.getTitle() : c
.getName());
chan.setSpan(new ForegroundColorSpan(pagerAdapter.getColorAt(i)), 0, chan.length(),
SpannableString.SPAN_INCLUSIVE_INCLUSIVE);
CharSequence title = chan;
if( c.getNewMentions() > 0 ) {
SpannableString unread = new SpannableString("("
+ c.getNewMentions() + ")");
Expand Down