diff --git a/src/NebulaAuth/Components/CodeProgressBar.cs b/src/NebulaAuth/Components/CodeProgressBar.cs index 8171e7b..661b5af 100644 --- a/src/NebulaAuth/Components/CodeProgressBar.cs +++ b/src/NebulaAuth/Components/CodeProgressBar.cs @@ -13,7 +13,7 @@ public class CodeProgressBar : ProgressBar public static readonly DependencyProperty MaxTimeProperty = DependencyProperty.Register(nameof(MaxTime), typeof(double), typeof(CodeProgressBar), - new PropertyMetadata(30.0)); // По умолчанию 30 сек + new PropertyMetadata(30.0)); public double TimeRemaining { diff --git a/src/NebulaAuth/Components/HintBox.xaml b/src/NebulaAuth/Components/HintBox.xaml index fdf57e9..98495b4 100644 --- a/src/NebulaAuth/Components/HintBox.xaml +++ b/src/NebulaAuth/Components/HintBox.xaml @@ -26,15 +26,12 @@ - - - - + CommandParameter="{StaticResource True}" + Content="{Tr Common.OK}"/> + CommandParameter="{StaticResource False}" + Content="{Tr Common.Cancel}" + /> diff --git a/src/NebulaAuth/View/Dialogs/ConfirmCancelDialog.xaml.cs b/src/NebulaAuth/View/Dialogs/ConfirmCancelDialog.xaml.cs index f678c13..1d226a8 100644 --- a/src/NebulaAuth/View/Dialogs/ConfirmCancelDialog.xaml.cs +++ b/src/NebulaAuth/View/Dialogs/ConfirmCancelDialog.xaml.cs @@ -1,8 +1,5 @@ namespace NebulaAuth.View.Dialogs; -/// -/// Логика взаимодействия для ConfirmCancelDialog.xaml -/// public partial class ConfirmCancelDialog { public ConfirmCancelDialog() @@ -13,6 +10,6 @@ public partial class ConfirmCancelDialog public ConfirmCancelDialog(string msg) { InitializeComponent(); - ConfirmTextBlock.Text = msg; + ConfirmHint.Text = msg; } } \ No newline at end of file diff --git a/src/NebulaAuth/View/Dialogs/LoginAgainDialog.xaml.cs b/src/NebulaAuth/View/Dialogs/LoginAgainDialog.xaml.cs index 294f5b6..204506a 100644 --- a/src/NebulaAuth/View/Dialogs/LoginAgainDialog.xaml.cs +++ b/src/NebulaAuth/View/Dialogs/LoginAgainDialog.xaml.cs @@ -1,8 +1,5 @@ namespace NebulaAuth.View.Dialogs; -/// -/// Логика взаимодействия для LoginAgainDialog.xaml -/// public partial class LoginAgainDialog { public LoginAgainDialog() diff --git a/src/NebulaAuth/View/Dialogs/LoginAgainOnImportDialog.xaml.cs b/src/NebulaAuth/View/Dialogs/LoginAgainOnImportDialog.xaml.cs index 8d936f9..deb3ec6 100644 --- a/src/NebulaAuth/View/Dialogs/LoginAgainOnImportDialog.xaml.cs +++ b/src/NebulaAuth/View/Dialogs/LoginAgainOnImportDialog.xaml.cs @@ -1,8 +1,5 @@ namespace NebulaAuth.View.Dialogs; -/// -/// Логика взаимодействия для LoginAgainDialog.xaml -/// public partial class LoginAgainOnImportDialog { public LoginAgainOnImportDialog() diff --git a/src/NebulaAuth/View/Dialogs/SetCryptPasswordDialog.xaml.cs b/src/NebulaAuth/View/Dialogs/SetCryptPasswordDialog.xaml.cs index a9a5b1e..4c48e3c 100644 --- a/src/NebulaAuth/View/Dialogs/SetCryptPasswordDialog.xaml.cs +++ b/src/NebulaAuth/View/Dialogs/SetCryptPasswordDialog.xaml.cs @@ -1,8 +1,6 @@ namespace NebulaAuth.View.Dialogs; -/// -/// Логика взаимодействия для SetCryptPasswordDialog.xaml -/// + public partial class SetCryptPasswordDialog { public SetCryptPasswordDialog() diff --git a/src/NebulaAuth/View/Dialogs/TextFieldDialog.xaml b/src/NebulaAuth/View/Dialogs/TextFieldDialog.xaml new file mode 100644 index 0000000..520d887 --- /dev/null +++ b/src/NebulaAuth/View/Dialogs/TextFieldDialog.xaml @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -47,15 +49,33 @@ - + - - + + + + + + + - - - - - - - - - + + + + True + False + + + + + + + + - +