File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/src/main/java/fr/free/nrw/commons/notification Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,12 +58,12 @@ private CharSequence getDisplayableText() {
5858 @ Override
5959 public void setText (CharSequence text , BufferType type ) {
6060 originalText = text ;
61- trimmedText = getTrimmedText (text );
61+ trimmedText = getTrimmedText ();
6262 bufferType = type ;
6363 setText ();
6464 }
6565
66- private CharSequence getTrimmedText (CharSequence text ) {
66+ private CharSequence getTrimmedText () {
6767 if (originalText != null && originalText .length () > trimLength ) {
6868 return new SpannableStringBuilder (originalText , 0 , trimLength + 1 ).append (ELLIPSIS );
6969 } else {
@@ -77,7 +77,7 @@ public CharSequence getOriginalText() {
7777
7878 public void setTrimLength (int trimLength ) {
7979 this .trimLength = trimLength ;
80- trimmedText = getTrimmedText (originalText );
80+ trimmedText = getTrimmedText ();
8181 setText ();
8282 }
8383
You can’t perform that action at this time.
0 commit comments