mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-03-24 18:28:49 +00:00
UI - Move profile editor into Profile screen, profile page no longer always has to show the editor
20 lines
530 B
C#
20 lines
530 B
C#
using Avalonia.Input;
|
|
using Avalonia.ReactiveUI;
|
|
|
|
namespace Artemis.UI.Screens.StartupWizard.Steps;
|
|
|
|
public partial class DefaultEntryItemView : ReactiveUserControl<StartupWizard.Steps.DefaultEntryItemViewModel>
|
|
{
|
|
public DefaultEntryItemView()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void HandlePointerPressed(object? sender, PointerPressedEventArgs e)
|
|
{
|
|
if (ViewModel != null && !ViewModel.IsInstalled)
|
|
{
|
|
ViewModel.ShouldInstall = !ViewModel.ShouldInstall;
|
|
}
|
|
}
|
|
} |