mirror of
https://github.com/gsantner/dandelion
synced 2024-11-22 12:22:08 +01:00
Add "All tags" link
This commit is contained in:
parent
568d542df5
commit
147eff61cf
2 changed files with 7 additions and 0 deletions
|
@ -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>» ");
|
||||||
|
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>» ");
|
sb.append("<span style='margin-left: 30px; '></span>» ");
|
||||||
sb.append(String.format(Locale.getDefault(),
|
sb.append(String.format(Locale.getDefault(),
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue