[Settings] Replace hardcoded Discord invite link with a redirect.

This commit is contained in:
Kuba Szczodrzyński 2020-03-21 16:56:30 +01:00
parent 87ae5787ee
commit 1d57c4e705

View File

@ -1104,7 +1104,7 @@ public class SettingsNewFragment extends MaterialAboutFragment {
.icon(SzkolnyFont.Icon.szf_discord_outline) .icon(SzkolnyFont.Icon.szf_discord_outline)
.color(IconicsColor.colorInt(primaryTextOnPrimaryBg)) .color(IconicsColor.colorInt(primaryTextOnPrimaryBg))
.size(IconicsSize.dp(iconSizeDp))) .size(IconicsSize.dp(iconSizeDp)))
.setOnClickAction(ConvenienceBuilder.createWebsiteOnClickAction(activity, Uri.parse("https://discord.gg/n9e8pWr"))) .setOnClickAction(ConvenienceBuilder.createWebsiteOnClickAction(activity, Uri.parse("https://szkolny.eu/discord")))
.build()); .build());
items.add(new MaterialAboutActionItem.Builder() items.add(new MaterialAboutActionItem.Builder()