Files
FluentTerminal/FluentTerminal.App/Views/SettingsPages/ShellProfileSettings.xaml.cs
T
Felix 58e3ab9115 Use AppService for Commnunication instead of WebSocket (#55)
* Use AppService for Commnunication instead of WebSocket

* Code cleanup

* Some polishing

* Added some tests
2018-07-19 12:05:02 +02:00

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;
}
}
}
}