mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
rework the whole connection garbage/custom servers, other cleanups/refactors
This commit is contained in:
parent
404ba8e278
commit
61b178e2c0
12 changed files with 386 additions and 302 deletions
|
|
@ -25,6 +25,7 @@ namespace MareSynchronos
|
|||
|
||||
public string CacheFolder { get; set; } = string.Empty;
|
||||
public Dictionary<string, string> ClientSecret { get; set; } = new();
|
||||
public Dictionary<string, string> CustomServerList { get; set; } = new();
|
||||
[JsonIgnore]
|
||||
public bool HasValidSetup => AcceptedAgreement && InitialScanComplete && !string.IsNullOrEmpty(CacheFolder) &&
|
||||
Directory.Exists(CacheFolder) && ClientSecret.ContainsKey(ApiUri);
|
||||
|
|
@ -46,7 +47,6 @@ namespace MareSynchronos
|
|||
|
||||
public bool FullPause { get; set; } = false;
|
||||
public Dictionary<string, string> UidComments { get; set; } = new();
|
||||
public bool UseCustomService { get; set; } = false;
|
||||
public int Version { get; set; } = 0;
|
||||
|
||||
public bool ShowTransferWindow { get; set; } = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue