We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2d5e048 + 972b940 commit a042945Copy full SHA for a042945
src/Views/Preference.axaml.cs
@@ -1,9 +1,8 @@
1
using System;
2
using System.Collections.Generic;
3
using System.Globalization;
4
-using System.IO;
5
using System.Threading.Tasks;
6
-
+using Avalonia;
7
using Avalonia.Collections;
8
using Avalonia.Controls;
9
using Avalonia.Input;
@@ -52,10 +51,13 @@ public bool EnableGPGSigning
52
51
set;
53
}
54
+ public static readonly StyledProperty<string> GPGExecutableFileProperty =
55
+ AvaloniaProperty.Register<Preference, string>(nameof(GPGExecutableFile));
56
+
57
public string GPGExecutableFile
58
{
- get;
- set;
59
+ get => GetValue(GPGExecutableFileProperty);
60
+ set => SetValue(GPGExecutableFileProperty, value);
61
62
63
public string GPGUserKey
0 commit comments