Merged in PhotonQyv/mastodon_etalab/ContentTranslated_TypefaceChange (pull request #132)
Added code to change font for translations too.
This commit is contained in:
commit
d821857a6f
|
@ -576,6 +576,7 @@ public class StatusListAdapter extends BaseAdapter implements OnPostActionInterf
|
||||||
if( status.isTranslationShown()){
|
if( status.isTranslationShown()){
|
||||||
holder.status_content.setVisibility(View.GONE);
|
holder.status_content.setVisibility(View.GONE);
|
||||||
holder.status_content_translated_container.setVisibility(View.VISIBLE);
|
holder.status_content_translated_container.setVisibility(View.VISIBLE);
|
||||||
|
holder.status_content_translated.setTypeface(tf);
|
||||||
}else { //Toot is not translated
|
}else { //Toot is not translated
|
||||||
holder.status_content.setVisibility(View.VISIBLE);
|
holder.status_content.setVisibility(View.VISIBLE);
|
||||||
holder.status_content_translated_container.setVisibility(View.GONE);
|
holder.status_content_translated_container.setVisibility(View.GONE);
|
||||||
|
|
Loading…
Reference in New Issue