Skip to content

Commit

Permalink
Add Telegram info link icon.
Browse files Browse the repository at this point in the history
Discord got blocked in Russia so now a bunch of Russian servers are switching to Telegram.
  • Loading branch information
PJB3005 committed Oct 8, 2024
1 parent f288a28 commit 373bf9c
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 1 deletion.
46 changes: 46 additions & 0 deletions Assets/info-icons/telegram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added SS14.Launcher/Assets/info-icons/telegram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions SS14.Launcher/IconsLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ private static readonly (string path, string resource)[] Icons =
("info-icons/github.png", "InfoIcon-github"),
("info-icons/web.png", "InfoIcon-web"),
("info-icons/wiki.png", "InfoIcon-wiki"),
("info-icons/telegram.png", "InfoIcon-telegram"),
};

public static void Load(App app)
Expand Down
3 changes: 2 additions & 1 deletion SS14.Launcher/Views/ServerInfoLinkControl.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ public sealed partial class ServerInfoLinkControl : UserControl
"wiki",
"web",
"github",
"forum"
"forum",
"telegram",
};

public ServerInfoLinkControl()
Expand Down

0 comments on commit 373bf9c

Please sign in to comment.