From 2c71ce137158435610c520a18d430308d4974781 Mon Sep 17 00:00:00 2001 From: tom79 Date: Wed, 8 May 2019 11:44:16 +0200 Subject: [PATCH] Fix sentence --- .../gouv/etalab/mastodon/drawers/StatusListAdapter.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 a27a906e4..69f3d6893 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 @@ -1553,7 +1553,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct status.setAttachmentShown(true); } else { //Text depending if toots is sensitive or not - String textShowMore = (status.isSensitive()) ? context.getString(R.string.load_sensitive_attachment) : context.getString(R.string.load_attachment); + String textShowMore = (status.isSensitive()) ? context.getString(R.string.load_sensitive_attachment) : context.getString(R.string.set_attachment_action); holder.show_more_content.setText(textShowMore); if (!status.isAttachmentShown()) { holder.status_show_more.setVisibility(View.VISIBLE); @@ -1570,7 +1570,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct } }else { //Text depending if toots is sensitive or not - String textShowMore = (status.isSensitive()) ? context.getString(R.string.load_sensitive_attachment) : context.getString(R.string.load_attachment); + String textShowMore = (status.isSensitive()) ? context.getString(R.string.load_sensitive_attachment) : context.getString(R.string.set_attachment_action); holder.show_more_content.setText(textShowMore); if (!status.isAttachmentShown()) { holder.status_show_more.setVisibility(View.VISIBLE); @@ -1600,7 +1600,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct status.setAttachmentShown(true); } else { //Text depending if toots is sensitive or not - String textShowMore = (status.getReblog().isSensitive()) ? context.getString(R.string.load_sensitive_attachment) : context.getString(R.string.load_attachment); + String textShowMore = (status.getReblog().isSensitive()) ? context.getString(R.string.load_sensitive_attachment) : context.getString(R.string.set_attachment_action); holder.show_more_content.setText(textShowMore); if (!status.isAttachmentShown()) { holder.status_show_more.setVisibility(View.VISIBLE); @@ -1617,7 +1617,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct } }else{ //Text depending if toots is sensitive or not - String textShowMore = (status.getReblog().isSensitive()) ? context.getString(R.string.load_sensitive_attachment) : context.getString(R.string.load_attachment); + String textShowMore = (status.getReblog().isSensitive()) ? context.getString(R.string.load_sensitive_attachment) : context.getString(R.string.set_attachment_action); holder.show_more_content.setText(textShowMore); if (!status.isAttachmentShown()) { holder.status_show_more.setVisibility(View.VISIBLE);