@using SharpIDE.Photino.Models

@inject AppState AppState

<MudStack Class="ml-2 mr-4 mb-2">
	<MudSwitch @bind-Value="@AppState.IdeSettings.AutoOpenLastSolution" Label="Automatically open last solution" Color="Color.Primary" />
	<MudSwitch @bind-Value="@AppState.IdeSettings.AutoOpenTerminalOnLaunch" Disabled="true" Label="Automatically open terminal when SharpIDE starts" Color="Color.Primary" />
	<MudSwitch @bind-Value="@AppState.IdeSettings.OpenTerminalOnBuildRebuildRestore" Label="Open the terminal on Build, Rebuild, Restore" Color="Color.Primary" />
</MudStack>

@code {
	[CascadingParameter]
	public IMudDialogInstance MudDialog { get; set; } = null!;
}
