Removes fonts

This commit is contained in:
stom79 2018-01-25 11:24:53 +01:00
parent 508e9c0e72
commit ee0768b9a5
4 changed files with 1 additions and 5 deletions

View File

@ -245,8 +245,6 @@ public class NotificationsListAdapter extends RecyclerView.Adapter implements On
else
holder.status_document_container.setVisibility(View.VISIBLE);
Typeface tf = Typeface.createFromAsset(context.getAssets(), "fonts/DroidSans-Regular.ttf");
holder.notification_status_content.setTypeface(tf);
holder.status_reply.setText("");
if( !status.isClickable())
status.makeClickable(context);

View File

@ -776,9 +776,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
}
}
Typeface tf = Typeface.createFromAsset(context.getAssets(), "fonts/DroidSans-Regular.ttf");
holder.status_content.setTypeface(tf);
holder.status_content_translated.setTypeface(tf);
//Toot was translated and user asked to see it
if( status.isTranslationShown() && status.getContentSpanTranslated() != null){