mirror of
https://github.com/KeyKeeperApp/KeyKeeper.git
synced 2026-05-04 22:06:30 +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"
|
<Window xmlns="https://github.com/avaloniaui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
x:Class="KeyKeeper.Views.CreateVaultFileWindow"
|
x:Class="KeyKeeper.Views.CreateVaultDialog"
|
||||||
Title="Create New Vault"
|
Title="Create New Vault"
|
||||||
Background="#fff"
|
Background="#fff"
|
||||||
Focusable="True"
|
Focusable="True"
|
||||||
|
|||||||
@@ -6,13 +6,13 @@ using Avalonia.Platform.Storage;
|
|||||||
|
|
||||||
namespace KeyKeeper.Views
|
namespace KeyKeeper.Views
|
||||||
{
|
{
|
||||||
public partial class CreateVaultFileWindow : Window
|
public partial class CreateVaultDialog : Window
|
||||||
{
|
{
|
||||||
public string FilePath { get; private set; } = string.Empty;
|
public string FilePath { get; private set; } = string.Empty;
|
||||||
public string Password { get; private set; } = string.Empty;
|
public string Password { get; private set; } = string.Empty;
|
||||||
public bool Success { get; private set; }
|
public bool Success { get; private set; }
|
||||||
|
|
||||||
public CreateVaultFileWindow()
|
public CreateVaultDialog()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ namespace KeyKeeper.Views
|
|||||||
|
|
||||||
private async void CreateNewVault_Click(object sender, RoutedEventArgs e)
|
private async void CreateNewVault_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
var createVaultDialog = new CreateVaultFileWindow();
|
var createVaultDialog = new CreateVaultDialog();
|
||||||
await createVaultDialog.ShowDialog(this);
|
await createVaultDialog.ShowDialog(this);
|
||||||
|
|
||||||
if (createVaultDialog.Success &&
|
if (createVaultDialog.Success &&
|
||||||
|
|||||||
Reference in New Issue
Block a user