Bold fonts are larger

pull/213/head
M66B 2 years ago
parent 34a4821975
commit aff25db5af

@ -563,14 +563,12 @@ public class FragmentDialogSend extends FragmentDialogBase {
break; break;
} }
tvSendAt.setTextColor(textColorSecondary); tvSendAt.setTextColor(textColorSecondary);
tvSendAt.setTypeface(Typeface.DEFAULT);
} else { } else {
long now = new Date().getTime(); long now = new Date().getTime();
DateFormat DTF = Helper.getDateTimeInstance(context, SimpleDateFormat.MEDIUM, SimpleDateFormat.SHORT); DateFormat DTF = Helper.getDateTimeInstance(context, SimpleDateFormat.MEDIUM, SimpleDateFormat.SHORT);
DateFormat D = new SimpleDateFormat("E"); DateFormat D = new SimpleDateFormat("E");
tvSendAt.setText(D.format(draft.ui_snoozed) + " " + DTF.format(draft.ui_snoozed)); tvSendAt.setText(D.format(draft.ui_snoozed) + " " + DTF.format(draft.ui_snoozed));
tvSendAt.setTextColor(draft.ui_snoozed < now ? colorWarning : textColorSecondary); tvSendAt.setTextColor(draft.ui_snoozed < now ? colorWarning : textColorSecondary);
tvSendAt.setTypeface(draft.ui_snoozed < now ? Typeface.DEFAULT_BOLD : Typeface.DEFAULT);
} }
grpDsn.setVisibility(dsn ? View.GONE : View.VISIBLE); grpDsn.setVisibility(dsn ? View.GONE : View.VISIBLE);

Loading…
Cancel
Save