From c87ad948c2ffabedd95b93ccc08a7315794c660d Mon Sep 17 00:00:00 2001 From: PhotonQyv Date: Thu, 12 Oct 2017 22:30:34 +0100 Subject: [PATCH] Added code to change font for translations too. --- .../java/fr/gouv/etalab/mastodon/drawers/StatusListAdapter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/fr/gouv/etalab/mastodon/drawers/StatusListAdapter.java b/app/src/main/java/fr/gouv/etalab/mastodon/drawers/StatusListAdapter.java index 654490042..8777c2206 100644 --- a/app/src/main/java/fr/gouv/etalab/mastodon/drawers/StatusListAdapter.java +++ b/app/src/main/java/fr/gouv/etalab/mastodon/drawers/StatusListAdapter.java @@ -576,6 +576,7 @@ public class StatusListAdapter extends BaseAdapter implements OnPostActionInterf if( status.isTranslationShown()){ holder.status_content.setVisibility(View.GONE); holder.status_content_translated_container.setVisibility(View.VISIBLE); + holder.status_content_translated.setTypeface(tf); }else { //Toot is not translated holder.status_content.setVisibility(View.VISIBLE); holder.status_content_translated_container.setVisibility(View.GONE);