mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 21:33:53 +01:00
Use string substitution to avoid translating trademarked text
This commit is contained in:
parent
44d294efaf
commit
10637f4bf2
3 changed files with 11 additions and 1 deletions
|
|
@ -19,4 +19,8 @@ public class HtmlTextView extends AppCompatTextView {
|
|||
setMovementMethod(LinkMovementMethod.getInstance());
|
||||
setText(Utils.fromHtml(getText().toString()));
|
||||
}
|
||||
|
||||
public void setHtmlText(String newText){
|
||||
setText(Utils.fromHtml(newText));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue