mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Setup wizard - Added and auto-show on home open
UI - Slightly darkened W11 effect
This commit is contained in:
1 parent
5c1da6d2c4
commit
1210dc3f63
37 files changed
+1177
-487
No files matched your search
@@ -1,12 +1,19 @@
|
||||
using ReactiveUI;
|
||||
using Artemis.Core.Services;
|
||||
using Artemis.UI.Screens.StartupWizard;
|
||||
using Artemis.UI.Shared.Services;
|
||||
using Avalonia.Threading;
|
||||
using ReactiveUI;
|
||||
|
||||
namespace Artemis.UI.Screens.Home
|
||||
namespace Artemis.UI.Screens.Home;
|
||||
|
||||
public class HomeViewModel : MainScreenViewModel
|
||||
{
|
||||
public class HomeViewModel : MainScreenViewModel
|
||||
public HomeViewModel(IScreen hostScreen, ISettingsService settingsService, IWindowService windowService) : base(hostScreen, "home")
|
||||
{
|
||||
public HomeViewModel(IScreen hostScreen) : base(hostScreen, "home")
|
||||
{
|
||||
DisplayName = "Home";
|
||||
}
|
||||
DisplayName = "Home";
|
||||
|
||||
// Show the startup wizard if it hasn't been completed
|
||||
if (!settingsService.GetSetting("UI.SetupWizardCompleted", false).Value)
|
||||
Dispatcher.UIThread.InvokeAsync(async () => await windowService.ShowDialogAsync<StartupWizardViewModel, bool>());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user