* Use AppService for Commnunication instead of WebSocket * Code cleanup * Some polishing * Added some tests
24 lines
624 B
C#
24 lines
624 B
C#
using FluentTerminal.App.ViewModels.Settings;
|
|
using Windows.UI.Xaml.Controls;
|
|
using Windows.UI.Xaml.Navigation;
|
|
|
|
namespace FluentTerminal.App.Views.SettingsPages
|
|
{
|
|
public sealed partial class ShellProfileSettings : Page
|
|
{
|
|
public ProfilesPageViewModel ViewModel { get; private set; }
|
|
|
|
public ShellProfileSettings()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
protected override void OnNavigatedTo(NavigationEventArgs e)
|
|
{
|
|
if (e.Parameter is ProfilesPageViewModel viewModel)
|
|
{
|
|
ViewModel = viewModel;
|
|
}
|
|
}
|
|
}
|
|
} |