Update On Thu Jan 9 19:34:57 CET 2025

This commit is contained in:
github-action[bot]
2025-01-09 19:34:58 +01:00
parent 4b8c5f7785
commit 23cd709815
43 changed files with 930 additions and 506 deletions
@@ -2,6 +2,8 @@
using ReactiveUI;
using ReactiveUI.Fody.Helpers;
using System.Reactive;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace ServiceLib.ViewModels
{
@@ -189,7 +191,13 @@ namespace ServiceLib.ViewModels
}
if (lst.Count > 0)
{
await _updateView?.Invoke(EViewAction.SetClipboardData, JsonUtils.Serialize(lst));
var options = new JsonSerializerOptions
{
WriteIndented = true,
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
};
await _updateView?.Invoke(EViewAction.SetClipboardData, JsonUtils.Serialize(lst, options));
}
}