mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
26 lines
577 B
C#
26 lines
577 B
C#
|
|
using Avalonia.Controls;
|
||
|
|
using Avalonia.Markup.Xaml;
|
||
|
|
using Flow.Launcher.Plugin.Shell.ViewModels;
|
||
|
|
|
||
|
|
namespace Flow.Launcher.Plugin.Shell.Views.Avalonia
|
||
|
|
{
|
||
|
|
public partial class ShellSetting : UserControl
|
||
|
|
{
|
||
|
|
public ShellSetting()
|
||
|
|
{
|
||
|
|
InitializeComponent();
|
||
|
|
}
|
||
|
|
|
||
|
|
public ShellSetting(Settings settings)
|
||
|
|
{
|
||
|
|
InitializeComponent();
|
||
|
|
DataContext = new ShellSettingViewModel(settings);
|
||
|
|
}
|
||
|
|
|
||
|
|
private void InitializeComponent()
|
||
|
|
{
|
||
|
|
AvaloniaXamlLoader.Load(this);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|