postit: ignore runtime status in settings json
All checks were successful
Dotnet build and test / build (pull_request) Successful in 5m17s
All checks were successful
Dotnet build and test / build (pull_request) Successful in 5m17s
This commit is contained in:
parent
5fc99d73b0
commit
f316c4eb50
1 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Net.Http;
|
using System.Net.Http;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
[assembly: InternalsVisibleTo("PostIt.Tests")]
|
[assembly: InternalsVisibleTo("PostIt.Tests")]
|
||||||
|
|
||||||
|
|
@ -32,6 +33,7 @@ public partial class Settings : ViewModelBase
|
||||||
public partial string SearchText { get; set; } = string.Empty;
|
public partial string SearchText { get; set; } = string.Empty;
|
||||||
|
|
||||||
[ObservableProperty]
|
[ObservableProperty]
|
||||||
|
[JsonIgnore]
|
||||||
public partial StatusNotice ActionStatus { get; set; } = StatusNotice.Info("Pret.");
|
public partial StatusNotice ActionStatus { get; set; } = StatusNotice.Info("Pret.");
|
||||||
|
|
||||||
public void SetActionStatus(string message, StatusSeverity severity = StatusSeverity.Info)
|
public void SetActionStatus(string message, StatusSeverity severity = StatusSeverity.Info)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue