1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-11-25 22:02:08 +01:00

Add "All tags" link

This commit is contained in:
Dmitriy Bogdanov 2016-07-18 16:03:53 +04:00
parent 568d542df5
commit 147eff61cf
No known key found for this signature in database
GPG key ID: F396CC2653B8F64D
2 changed files with 7 additions and 0 deletions

View file

@ -134,6 +134,11 @@ public class Helpers {
// Content // Content
AppSettings appSettings = app.getSettings(); AppSettings appSettings = app.getSettings();
sb.append("<span style='margin-left: 30px; '></span>&raquo; &nbsp;");
sb.append(String.format(Locale.getDefault(),
"<a href='https://%s/followed_tags' style='color: #000000; text-decoration: none;'>%s</a>",
appSettings.getPodDomain(), app.getString(R.string.all_tags)));
sb.append("<hr style='height:5px;' />");
for (String tag: profile.getFollowedTags()) { for (String tag: profile.getFollowedTags()) {
sb.append("<span style='margin-left: 30px; '></span>&raquo; &nbsp;"); sb.append("<span style='margin-left: 30px; '></span>&raquo; &nbsp;");
sb.append(String.format(Locale.getDefault(), sb.append(String.format(Locale.getDefault(),

View file

@ -173,4 +173,6 @@
<string name="app_hashtag" translatable="false">#DiasporaForAndroid</string> <string name="app_hashtag" translatable="false">#DiasporaForAndroid</string>
<string name="toast_set_proxy_failed">Warning: Could not set network proxy…</string> <string name="toast_set_proxy_failed">Warning: Could not set network proxy…</string>
<string name="all_tags">All tags</string>
</resources> </resources>