Skip to content

Commit

Permalink
Fix null SpannableString construction (#2778)
Browse files Browse the repository at this point in the history
  • Loading branch information
MortimerGoro committed Feb 12, 2020
1 parent 5cecc09 commit abd4f53
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -321,6 +321,9 @@ public MutableLiveData<Spannable> getUrl() {
}

public void setUrl(@Nullable String url) {
if (url == null) {
return;
}
setUrl(new SpannableString(url));
}

Expand Down

0 comments on commit abd4f53

Please sign in to comment.