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