Skip to content
Permalink
Browse files

Merge pull request #2229 from lontivero/Fixes/Fix-Autocopy-Switch-OnOff

Autocopy property raise event when changes
  • Loading branch information...
molnard committed Sep 10, 2019
2 parents d7bd5cf + 9377c88 commit 5b4f7b89f7cf3c1db2311b5ea42a155d4747b21c
Showing with 7 additions and 1 deletion.
  1. +1 −0 WalletWasabi.Dependencies/AvalonStudio.Shell
  2. +6 −1 WalletWasabi.Gui/UiConfig.cs
Submodule AvalonStudio.Shell added at 2199c1
@@ -25,6 +25,7 @@ public class UiConfig : ConfigBase
private bool _lockScreenActive;
private string _lockScreenPinHash;
private bool _isCustomFee;
private bool _autocopy;

[JsonProperty(PropertyName = "WindowState")]
[JsonConverter(typeof(WindowStateAfterStartJsonConverter))]
@@ -48,7 +49,11 @@ public class UiConfig : ConfigBase

[DefaultValue(true)]
[JsonProperty(PropertyName = "Autocopy", DefaultValueHandling = DefaultValueHandling.Populate)]
public bool Autocopy { get; internal set; }
public bool Autocopy
{
get => _autocopy;
set => RaiseAndSetIfChanged(ref _autocopy, value);
}

[DefaultValue(false)]
[JsonProperty(PropertyName = "IsCustomFee", DefaultValueHandling = DefaultValueHandling.Populate)]

0 comments on commit 5b4f7b8

Please sign in to comment.
You can’t perform that action at this time.