убрал упоминание форума
This commit is contained in:
parent
9171a65c46
commit
e9597f645f
3 changed files with 0 additions and 17 deletions
|
|
@ -28,17 +28,6 @@
|
|||
</BoxContainer>
|
||||
</controls:StripeBack>
|
||||
|
||||
<PanelContainer Margin="0 10">
|
||||
<PanelContainer.PanelOverride>
|
||||
<gfx:StyleBoxFlat BackgroundColor="#464966"
|
||||
BorderColor="#A88B5E"
|
||||
BorderThickness="2"/>
|
||||
</PanelContainer.PanelOverride>
|
||||
<Button Name="Forum"
|
||||
Text="Forum"
|
||||
StyleClasses="SocialButton SocialButtonForum"/>
|
||||
</PanelContainer>
|
||||
|
||||
<PanelContainer Margin="0 5">
|
||||
<PanelContainer.PanelOverride>
|
||||
<gfx:StyleBoxFlat BackgroundColor="#5865F2"/>
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ namespace Content.Client.Launcher
|
|||
private readonly IClipboardManager _clipboard;
|
||||
private readonly ServersHubManager _serversHubManager; // Sunrise-Edit
|
||||
|
||||
private string _forumLink = ""; // Sunrise-Edit
|
||||
private string _discordLink = ""; // Sunrise-Edit
|
||||
private string _telegramLink = ""; // Sunrise-Edit
|
||||
|
||||
|
|
@ -66,11 +65,9 @@ namespace Content.Client.Launcher
|
|||
CopyButtonDisconnected.OnPressed += CopyButtonDisconnectedPressed;
|
||||
ExitButton.OnPressed += _ => _state.Exit();
|
||||
|
||||
_cfg.OnValueChanged(SunriseCCVars.BanForumLink, s => _forumLink = s, true); // Sunrise-Edit
|
||||
_cfg.OnValueChanged(SunriseCCVars.BanDiscordLink, s => _discordLink = s, true); // Sunrise-Edit
|
||||
_cfg.OnValueChanged(SunriseCCVars.BanTelegramLink, s => _telegramLink = s, true); // Sunrise-Edit
|
||||
|
||||
Forum.OnPressed += _ => _uri.OpenUri(_forumLink); // Sunrise-Edit
|
||||
Discord.OnPressed += _ => _uri.OpenUri(_discordLink); // Sunrise-Edit
|
||||
Telegram.OnPressed += _ => _uri.OpenUri(_telegramLink); // Sunrise-Edit
|
||||
|
||||
|
|
|
|||
|
|
@ -305,9 +305,6 @@ public sealed partial class SunriseCCVars : CVars
|
|||
* Ban links.
|
||||
*/
|
||||
|
||||
public static readonly CVarDef<string> BanForumLink =
|
||||
CVarDef.Create("cl.forum_link", "", CVar.SERVER | CVar.REPLICATED | CVar.ARCHIVE);
|
||||
|
||||
public static readonly CVarDef<string> BanDiscordLink =
|
||||
CVarDef.Create("cl.discord_link", "", CVar.SERVER | CVar.REPLICATED | CVar.ARCHIVE);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue