Browse Source

Remove extra newlines from "Stopped at " message

pull/14/head
JT 1 year ago
parent
commit
3c5e01fb76
  1. 2
      StabilityMatrix/LaunchPage.xaml
  2. 2
      StabilityMatrix/ViewModels/LaunchViewModel.cs

2
StabilityMatrix/LaunchPage.xaml

@ -197,7 +197,7 @@
IsReadOnly="True" IsReadOnly="True"
AutoScroll="True" AutoScroll="True"
FontFamily="Consolas" FontFamily="Consolas"
ItemHeight="20" ItemHeight="22"
Foreground="White" Foreground="White"
BorderThickness="0" BorderThickness="0"
VerticalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto"

2
StabilityMatrix/ViewModels/LaunchViewModel.cs

@ -292,7 +292,7 @@ public partial class LaunchViewModel : ObservableObject
runningPackage = null; runningPackage = null;
SetProcessRunning(false); SetProcessRunning(false);
ConsoleHistory?.Add( ConsoleHistory?.Add(
$"{Environment.NewLine}Stopped process at {DateTimeOffset.Now}{Environment.NewLine}"); $"Stopped process at {DateTimeOffset.Now}");
ShowWebUiButton = false; ShowWebUiButton = false;
return Task.CompletedTask; return Task.CompletedTask;
} }

Loading…
Cancel
Save