Merge pull request #70 from gadfly3173/fix/gpg-select

fix: GPG executable file input didn't echo after selected
This commit is contained in:
leo 2024-04-13 18:38:20 +08:00 committed by GitHub
commit a042945875
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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