mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 10:47:28 +00:00
Fixed send font option style
This commit is contained in:
parent
8458c71697
commit
7acf8d3282
1 changed files with 2 additions and 1 deletions
|
@ -166,7 +166,8 @@ public class FragmentOptionsSend extends FragmentBase implements SharedPreferenc
|
|||
for (int i = 0; i < fonts.size(); i++) {
|
||||
StyleHelper.FontDescriptor font = fonts.get(i);
|
||||
SpannableStringBuilder ssb = new SpannableStringBuilderEx(font.toString());
|
||||
ssb.setSpan(new TypefaceSpan(font.type), 0, ssb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
ssb.setSpan(StyleHelper.getTypefaceSpan(font.type, getContext()),
|
||||
0, ssb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
fn.add(ssb);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue