<ContentDialog xmlns:loc="using:XFEWarframe.Desktop.Editing" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ct="using:CommunityToolkit.WinUI.Controls" x:Class="XFEWarframe.Player.Views.Dialogs.LoginDialog" Title="{loc:Translate Key=ui_d9a999a7c8e80c8b}" PrimaryButtonText="{loc:Translate Key=ui_1e2df9c3075ae9e4}" SecondaryButtonText="{x:Bind ViewModel.Account.CreateAccountButtonText, Mode=OneWay}" CloseButtonText="{loc:Translate Key=ui_2cd0f3be8738a86c}" DefaultButton="Primary" PrimaryButtonClick="Submit" Closed="ClosedDialog">
<StackPanel Spacing="16" MinWidth="320">
<TextBlock Text="{loc:Translate Key=ui_cffac78751333561}" TextWrapping="Wrap" Style="{StaticResource MutedTextStyle}"/>
<AutoSuggestBox loc:Suggestions.Candidates="{x:Bind ViewModel.RememberedEmails}" Header="{loc:Translate Key=ui_73075237fd0f05f0}" Text="{x:Bind ViewModel.Email, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
<PasswordBox Header="{loc:Translate Key=ui_a621ab606db2a11f}" Password="{x:Bind ViewModel.Password, Mode=TwoWay}" MaxLength="256"/>
<ct:SettingsCard Header="{loc:Translate Key=ui_d57273f906456c23}">
<CheckBox IsChecked="{x:Bind ViewModel.RememberAccount, Mode=TwoWay}" AutomationProperties.Name="{loc:Translate Key=ui_d57273f906456c23}"/>
</ct:SettingsCard>
<TextBlock Text="{x:Bind ViewModel.Error, Mode=OneWay}" TextWrapping="Wrap" Foreground="{ThemeResource SystemFillColorCriticalBrush}"/>
</StackPanel>
</ContentDialog>
<ContentDialog xmlns:loc="using:XFEWarframe.Desktop.Editing" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ct="using:CommunityToolkit.WinUI.Controls" x:Class="XFEWarframe.Player.Views.Dialogs.LoginDialog" Title="{loc:Translate Key=ui_d9a999a7c8e80c8b}" PrimaryButtonText="{loc:Translate Key=ui_1e2df9c3075ae9e4}" SecondaryButtonText="{x:Bind ViewModel.Account.CreateAccountButtonText, Mode=OneWay}" CloseButtonText="{loc:Translate Key=ui_2cd0f3be8738a86c}" DefaultButton="Primary" PrimaryButtonClick="Submit" Closed="ClosedDialog">
<StackPanel Spacing="16" MinWidth="320">
<TextBlock Text="{loc:Translate Key=ui_cffac78751333561}" TextWrapping="Wrap" Style="{StaticResource MutedTextStyle}"/>
<AutoSuggestBox loc:Suggestions.Candidates="{x:Bind ViewModel.RememberedEmails}" Header="{loc:Translate Key=ui_73075237fd0f05f0}" Text="{x:Bind ViewModel.Email, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
<PasswordBox Header="{loc:Translate Key=ui_a621ab606db2a11f}" Password="{x:Bind ViewModel.Password, Mode=TwoWay}" MaxLength="256"/>
<ct:SettingsCard Header="{loc:Translate Key=ui_d57273f906456c23}">
<CheckBox IsChecked="{x:Bind ViewModel.RememberAccount, Mode=TwoWay}" AutomationProperties.Name="{loc:Translate Key=ui_d57273f906456c23}"/>
</ct:SettingsCard>
<TextBlock Text="{x:Bind ViewModel.Error, Mode=OneWay}" TextWrapping="Wrap" Foreground="{ThemeResource SystemFillColorCriticalBrush}"/>
</StackPanel>
</ContentDialog>