From 6eebb544357548b4ee6b12622194dc04847dc7d3 Mon Sep 17 00:00:00 2001 From: pizzaboxer Date: Fri, 5 Jul 2024 10:15:25 +0400 Subject: [PATCH] Push all changes made to ConnectivityDialog this was part of b2cfeeb, i dont know how this somehow managed to evade being added --- Bloxstrap/UI/Elements/Dialogs/ConnectivityDialog.xaml | 8 +++++--- Bloxstrap/UI/Elements/Dialogs/ConnectivityDialog.xaml.cs | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Bloxstrap/UI/Elements/Dialogs/ConnectivityDialog.xaml b/Bloxstrap/UI/Elements/Dialogs/ConnectivityDialog.xaml index 48b5167b..5ad52995 100644 --- a/Bloxstrap/UI/Elements/Dialogs/ConnectivityDialog.xaml +++ b/Bloxstrap/UI/Elements/Dialogs/ConnectivityDialog.xaml @@ -1,10 +1,12 @@ - - + @@ -42,4 +44,4 @@ - + diff --git a/Bloxstrap/UI/Elements/Dialogs/ConnectivityDialog.xaml.cs b/Bloxstrap/UI/Elements/Dialogs/ConnectivityDialog.xaml.cs index c4e746f6..21f31bb9 100644 --- a/Bloxstrap/UI/Elements/Dialogs/ConnectivityDialog.xaml.cs +++ b/Bloxstrap/UI/Elements/Dialogs/ConnectivityDialog.xaml.cs @@ -14,12 +14,12 @@ namespace Bloxstrap.UI.Elements.Dialogs /// public partial class ConnectivityDialog { - public ConnectivityDialog(string targetName, string description, Exception exception) + public ConnectivityDialog(string title, string description, Exception exception) { InitializeComponent(); - TitleTextBlock.Text = string.Format(Bloxstrap.Resources.Strings.Dialog_Connectivity_UnableToConnect, targetName); - DescriptionTextBlock.Text = description; + TitleTextBlock.Text = title; + DescriptionTextBlock.MarkdownText = description; AddException(exception);