mirror of
https://github.com/KeyKeeperApp/KeyKeeper.git
synced 2026-04-24 08:26:28 +03:00
rename CreateVaultFileWindow to CreateVaultDialog to be consistent with file names
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
x:Class="KeyKeeper.Views.CreateVaultFileWindow"
|
||||
x:Class="KeyKeeper.Views.CreateVaultDialog"
|
||||
Title="Create New Vault"
|
||||
Background="#fff"
|
||||
Focusable="True"
|
||||
|
||||
@@ -6,13 +6,13 @@ using Avalonia.Platform.Storage;
|
||||
|
||||
namespace KeyKeeper.Views
|
||||
{
|
||||
public partial class CreateVaultFileWindow : Window
|
||||
public partial class CreateVaultDialog : Window
|
||||
{
|
||||
public string FilePath { get; private set; } = string.Empty;
|
||||
public string Password { get; private set; } = string.Empty;
|
||||
public bool Success { get; private set; }
|
||||
|
||||
public CreateVaultFileWindow()
|
||||
public CreateVaultDialog()
|
||||
{
|
||||
InitializeComponent();
|
||||
#if DEBUG
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace KeyKeeper.Views
|
||||
|
||||
private async void CreateNewVault_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var createVaultDialog = new CreateVaultFileWindow();
|
||||
var createVaultDialog = new CreateVaultDialog();
|
||||
await createVaultDialog.ShowDialog(this);
|
||||
|
||||
if (createVaultDialog.Success &&
|
||||
|
||||
Reference in New Issue
Block a user