Compose fonts require bundled fonts

pull/213/head
M66B 1 year ago
parent 0fcbfab4cc
commit f0488d26e7

@ -206,7 +206,7 @@ public class FragmentOptionsSend extends FragmentBase implements SharedPreferenc
swReplyMove = view.findViewById(R.id.swReplyMove);
swReplyMoveInbox = view.findViewById(R.id.swReplyMoveInbox);
List<StyleHelper.FontDescriptor> fonts = StyleHelper.getFonts(getContext());
List<StyleHelper.FontDescriptor> fonts = StyleHelper.getFonts(getContext(), false);
List<CharSequence> fn = new ArrayList<>();
fn.add("-");
@ -792,7 +792,7 @@ public class FragmentOptionsSend extends FragmentBase implements SharedPreferenc
btnComposeColor.setColor(prefs.getInt("compose_color", Color.TRANSPARENT));
String compose_font = prefs.getString("compose_font", "");
List<StyleHelper.FontDescriptor> fonts = StyleHelper.getFonts(getContext());
List<StyleHelper.FontDescriptor> fonts = StyleHelper.getFonts(getContext(), false);
for (int pos = 0; pos < fonts.size(); pos++) {
StyleHelper.FontDescriptor font = fonts.get(pos);
if (font.type.equals(compose_font)) {

Loading…
Cancel
Save