Json Ignore CustomExplorer Property because we don't use that to store value

This commit is contained in:
Kevin Zhang 2021-11-10 13:39:15 -06:00
parent 67c90044fb
commit b15ec0f83b

View file

@ -40,6 +40,8 @@ namespace Flow.Launcher.Infrastructure.UserSettings
public bool UseGlyphIcons { get; set; } = true;
public int CustomExplorerIndex { get; set; } = 0;
[JsonIgnore]
public CustomExplorerViewModel CustomExplorer
{
get => CustomExplorerList[CustomExplorerIndex < CustomExplorerList.Count ? CustomExplorerIndex : 0];