diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs index 27037bf..bcfbf8b 100644 --- a/Bloxstrap/Bootstrapper.cs +++ b/Bloxstrap/Bootstrapper.cs @@ -99,10 +99,6 @@ namespace Bloxstrap message = message.Replace("{product}", productName); - // yea idk - if (App.Settings.Prop.BootstrapperStyle == BootstrapperStyle.ByfronDialog) - message = message.Replace("...", ""); - if (Dialog is not null) Dialog.Message = message; } diff --git a/Bloxstrap/UI/Elements/Bootstrapper/ByfronDialog.xaml.cs b/Bloxstrap/UI/Elements/Bootstrapper/ByfronDialog.xaml.cs index 4d709ec..54e57ca 100644 --- a/Bloxstrap/UI/Elements/Bootstrapper/ByfronDialog.xaml.cs +++ b/Bloxstrap/UI/Elements/Bootstrapper/ByfronDialog.xaml.cs @@ -26,7 +26,11 @@ namespace Bloxstrap.UI.Elements.Bootstrapper get => _viewModel.Message; set { - _viewModel.Message = value; + string message = value; + if (message.EndsWith("...")) + message = message[..^3]; + + _viewModel.Message = message; _viewModel.OnPropertyChanged(nameof(_viewModel.Message)); } }