mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-29 20:09:09 +03:00
Make parameter in ContextBasedRangeFormattingCallback#addMarkdown effectively final
This commit is contained in:
parent
af6b92fa22
commit
eafadef56c
1 changed files with 1 additions and 2 deletions
|
@ -145,7 +145,6 @@ public class ContextBasedRangeFormattingCallback implements ActionMode.Callback
|
||||||
ssb.insert(start, markdown);
|
ssb.insert(start, markdown);
|
||||||
editText.getText().charAt(start);
|
editText.getText().charAt(start);
|
||||||
editText.getText().charAt(start + 1);
|
editText.getText().charAt(start + 1);
|
||||||
end += markdown.length() * 2;
|
ssb.setSpan(new StyleSpan(typeface), start, end + markdown.length() * 2, 1);
|
||||||
ssb.setSpan(new StyleSpan(typeface), start, end, 1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue