diff --git a/UI/Assets/Resources.resx b/UI/Assets/Resources.resx
index a08d0a0..1115244 100644
--- a/UI/Assets/Resources.resx
+++ b/UI/Assets/Resources.resx
@@ -134,4 +134,7 @@
About {0}
+
+ Database "{0}" loaded successfully.
+
\ No newline at end of file
diff --git a/UI/ViewModels/MainWindowViewModel.cs b/UI/ViewModels/MainWindowViewModel.cs
index 9e13a6e..0eb2fe5 100644
--- a/UI/ViewModels/MainWindowViewModel.cs
+++ b/UI/ViewModels/MainWindowViewModel.cs
@@ -31,7 +31,8 @@ public partial class MainWindowViewModel : ViewModelBase
? string.Format(Resources.TitleWithDatabase, this.Database.Name)
: Resources.Title;
- public string StatusBlockText = Resources.StatusBlockReady;
+ [ObservableProperty]
+ private string _statusBlockText = Resources.StatusBlockReady;
// TODO searchViewModel
@@ -75,6 +76,7 @@ public partial class MainWindowViewModel : ViewModelBase
this.OnPropertyChanged(nameof(TotalTags));
this.OnPropertyChanged(nameof(WindowTitle));
this.Database.InitialisationComplete -= OnDatabaseLoaded;
+ this.StatusBlockText = string.Format(Resources.StatusBlockDbLoadSuccessful, this.Database.Name);
});
Debug.WriteLine($"Database loaded on UI - name: {db.Name}, version: {db.Version}");
}
diff --git a/UI/Views/MainWindow.axaml b/UI/Views/MainWindow.axaml
index 23bad0d..da756fb 100644
--- a/UI/Views/MainWindow.axaml
+++ b/UI/Views/MainWindow.axaml
@@ -33,7 +33,7 @@
-
+