From 63e3eadc356cd933d1cc611ee94da812d9b9a4a6 Mon Sep 17 00:00:00 2001 From: Kira-NT Date: Sun, 30 Nov 2025 16:28:44 +0000 Subject: [PATCH] Revert to using `.EnableHotReload()` --- src/Artemis.UI.Windows/App.axaml.cs | 2 ++ src/Artemis.UI.Windows/Artemis.UI.Windows.csproj | 1 + 2 files changed, 3 insertions(+) diff --git a/src/Artemis.UI.Windows/App.axaml.cs b/src/Artemis.UI.Windows/App.axaml.cs index 3099777a6..feb425d47 100644 --- a/src/Artemis.UI.Windows/App.axaml.cs +++ b/src/Artemis.UI.Windows/App.axaml.cs @@ -16,6 +16,7 @@ using Avalonia.Controls.ApplicationLifetimes; using Avalonia.Markup.Xaml; using Avalonia.ReactiveUI; using DryIoc; +using HotAvalonia; using ReactiveUI; namespace Artemis.UI.Windows; @@ -40,6 +41,7 @@ public class App : Application LegacyMigrationService.MigrateToSqlite(_container); RxApp.MainThreadScheduler = AvaloniaScheduler.Instance; + this.EnableHotReload(); AvaloniaXamlLoader.Load(this); } diff --git a/src/Artemis.UI.Windows/Artemis.UI.Windows.csproj b/src/Artemis.UI.Windows/Artemis.UI.Windows.csproj index 074722051..9f301ae22 100644 --- a/src/Artemis.UI.Windows/Artemis.UI.Windows.csproj +++ b/src/Artemis.UI.Windows/Artemis.UI.Windows.csproj @@ -9,6 +9,7 @@ Artemis ..\Artemis.UI\Assets\Images\Logo\application.ico en + false