Fixes links & hashes issues in profiles.

This commit is contained in:
stom79 2018-08-27 18:50:30 +02:00
parent a413caae9b
commit 0828a9cefb
1 changed files with 1 additions and 7 deletions

View File

@ -456,13 +456,7 @@ public class Account implements Parcelable {
if( ((Activity)context).isFinishing() )
return;
if( account.getNote() != null) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N)
noteSpan = new SpannableString(Html.fromHtml(account.getNote(), FROM_HTML_MODE_LEGACY));
else
//noinspection deprecation
noteSpan = new SpannableString(Html.fromHtml(account.getNote()));
}
noteSpan = account.getNoteSpan();
if( account.getDisplay_name() != null)
displayNameSpan = new SpannableString(account.getDisplay_name());