fix: GPG executable file input didn't echo after selected

This commit is contained in:
Gadfly 2024-04-12 19:37:06 +08:00
parent 2d5e048797
commit 972b940742
No known key found for this signature in database
GPG key ID: 9128145F93CFC69C

View file

@ -1,9 +1,8 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Threading.Tasks;
using Avalonia;
using Avalonia.Collections;
using Avalonia.Controls;
using Avalonia.Input;
@ -52,10 +51,13 @@ namespace SourceGit.Views
set;
}
public static readonly StyledProperty<string> GPGExecutableFileProperty =
AvaloniaProperty.Register<Preference, string>(nameof(GPGExecutableFile));
public string GPGExecutableFile
{
get;
set;
get => GetValue(GPGExecutableFileProperty);
set => SetValue(GPGExecutableFileProperty, value);
}
public string GPGUserKey