Startup error handling

This commit is contained in:
2023-08-03 11:56:08 +02:00
parent 3304d775f5
commit fe0003e55f
6 changed files with 42 additions and 14 deletions

View File

@@ -1,4 +1,5 @@
using System.Reactive.Subjects;
using DeclarativeProperty;
namespace FileTime.GuiApp.ViewModels;
@@ -6,4 +7,6 @@ public class MainWindowLoadingViewModel : IMainWindowViewModelBase
{
public bool Loading => true;
public IObservable<string?> MainFont { get; } = new BehaviorSubject<string?>("");
public DeclarativeProperty<string> Title { get; } = new("Loading...");
public DeclarativeProperty<string> FatalError { get; } = new();
}