Merge pull request #1476 from nextcloud/comradekingu-patch-1

Fix duplicate string in contribute UI
This commit is contained in:
Tobias Kaminsky 2017-09-01 15:31:05 +02:00 committed by GitHub
commit fd80852685

View file

@ -83,7 +83,7 @@ public class ParticipateActivity extends FileActivity {
TextView contributeForumView = (TextView) findViewById(R.id.participate_contribute_forum_text); TextView contributeForumView = (TextView) findViewById(R.id.participate_contribute_forum_text);
contributeForumView.setMovementMethod(LinkMovementMethod.getInstance()); contributeForumView.setMovementMethod(LinkMovementMethod.getInstance());
contributeForumView.setText(Html.fromHtml(getString(R.string.participate_contribute_irc_text) + " " + contributeForumView.setText(Html.fromHtml(getString(R.string.participate_contribute_forum_text) + " " +
getString(R.string.participate_contribute_forum_text_link, getString(R.string.participate_contribute_forum_text_link,
ThemeUtils.colorToHexString(ThemeUtils.primaryColor()), ThemeUtils.colorToHexString(ThemeUtils.primaryColor()),
getString(R.string.help_link), getString(R.string.participate_contribute_forum_forum)))); getString(R.string.help_link), getString(R.string.participate_contribute_forum_forum))));