mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
- Add i18n injection to Application.Resources for DynamicResource bindings - Create Avalonia settings views for plugins: - Explorer (ExplorerSettings + QuickAccessLinkSettings dialog) - BrowserBookmark (SettingsControl + CustomBrowserSettingWindow) - Calculator (CalculatorSettings) - ProcessKiller (SettingsControl) - PluginsManager (PluginsManagerSettings) - WebSearch (SettingsControl) - Shell (ShellSetting + converter) - Program (ProgramSetting) - Add IsAvalonia detection pattern for dual-framework dialog support - Update 11 plugin .csproj files with CopyToAvaloniaOutput targets - Add System.Threading.Tasks using for async RelayCommand support
25 lines
577 B
C#
25 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);
|
|
}
|
|
}
|
|
}
|