Skip to content

Commit 41b4b53

Browse files
committed
title.toString() drops the spans in a abstract CharSequence
1 parent 0439759 commit 41b4b53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/com/viewpagerindicator/TitlePageIndicator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,6 @@ private CharSequence getTitle(int i) {
800800
if (title == null) {
801801
title = EMPTY_TITLE;
802802
}
803-
return title.toString();
803+
return title;
804804
}
805805
}

0 commit comments

Comments
 (0)