From 9e23a7253a3150cc3a062258271d582e6d048dcf Mon Sep 17 00:00:00 2001 From: David Date: Fri, 20 Sep 2024 18:33:36 -0400 Subject: [PATCH] fix: Improve HR message to imrpove user experience (cherry picked from commit feb094987547f4a66752349ba193b4990be6f04c) --- .../HotReload/HotReloadStatusView.Entries.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Uno.UI.RemoteControl/HotReload/HotReloadStatusView.Entries.cs b/src/Uno.UI.RemoteControl/HotReload/HotReloadStatusView.Entries.cs index 0d6d8272ad2e..70ede1d818c5 100644 --- a/src/Uno.UI.RemoteControl/HotReload/HotReloadStatusView.Entries.cs +++ b/src/Uno.UI.RemoteControl/HotReload/HotReloadStatusView.Entries.cs @@ -54,7 +54,7 @@ internal record EngineEntry() : HotReloadLogEntry(EntrySource.Engine, -1, DateTi => (oldStatus?.State ?? HotReloadState.Initializing, status.State) switch { ( < HotReloadState.Ready, HotReloadState.Ready) => new EngineEntry { Title = "Connected", Icon = EntryIcon.Connection | EntryIcon.Success }, - (not HotReloadState.Disabled, HotReloadState.Disabled) => new EngineEntry { Title = "Cannot initialize", Icon = EntryIcon.Connection | EntryIcon.Error }, + (not HotReloadState.Disabled, HotReloadState.Disabled) => new EngineEntry { Title = "Cannot initialize with debugger attached", Icon = EntryIcon.Connection | EntryIcon.Error }, _ => null }; } @@ -151,7 +151,7 @@ public enum EntryIcon [Microsoft.UI.Xaml.Data.Bindable] -internal record HotReloadLogEntry(EntrySource Source, long Id, DateTimeOffset Timestamp) : INotifyPropertyChanged +public record HotReloadLogEntry(EntrySource Source, long Id, DateTimeOffset Timestamp) : INotifyPropertyChanged { /// public event PropertyChangedEventHandler? PropertyChanged;