rename CreateVaultFileWindow to CreateVaultDialog to be consistent with file names

This commit is contained in:
2026-03-26 21:43:12 +03:00
parent fc5ec11a84
commit 0d08e57cf7
3 changed files with 4 additions and 4 deletions

View File

@@ -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"

View File

@@ -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

View File

@@ -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 &&