mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
21 lines
595 B
C#
21 lines
595 B
C#
using System.Windows.Navigation;
|
|
using CommunityToolkit.Mvvm.DependencyInjection;
|
|
using Flow.Launcher.SettingPages.ViewModels;
|
|
|
|
namespace Flow.Launcher.SettingPages.Views;
|
|
|
|
public partial class SettingsPaneProxy
|
|
{
|
|
private SettingsPaneProxyViewModel _viewModel = null!;
|
|
|
|
protected override void OnNavigatedTo(NavigationEventArgs e)
|
|
{
|
|
if (!IsInitialized)
|
|
{
|
|
_viewModel = Ioc.Default.GetRequiredService<SettingsPaneProxyViewModel>();
|
|
DataContext = _viewModel;
|
|
InitializeComponent();
|
|
}
|
|
base.OnNavigatedTo(e);
|
|
}
|
|
}
|