Removal of OpenSyncshellTags, not used in anyway for syncshell folders.

This commit is contained in:
CakeAndBanana
2025-09-09 23:25:41 +02:00
parent 4cf122934c
commit 367068480e
2 changed files with 0 additions and 13 deletions

View File

@@ -3,7 +3,6 @@
[Serializable]
public class SyncshellTagStorage
{
public HashSet<string> OpenSyncshellTags { get; set; } = new(StringComparer.Ordinal);
public HashSet<string> ServerAvailableSyncshellTags { get; set; } = new(StringComparer.Ordinal);
public Dictionary<string, List<string>> SyncshellPairedTags { get; set; } = new(StringComparer.Ordinal);
}

View File

@@ -291,12 +291,6 @@ public class ServerConfigurationManager
_pairTagConfig.Save();
}
internal void AddOpenSyncshellTag(string tag)
{
CurrentSyncshellTagStorage().OpenSyncshellTags.Add(tag);
_syncshellTagConfig.Save();
}
internal void AddServer(ServerStorage serverStorage)
{
_configService.Current.ServerStorage.Add(serverStorage);
@@ -429,12 +423,6 @@ public class ServerConfigurationManager
_pairTagConfig.Save();
}
internal void RemoveOpenSyncshellTag(string tag)
{
CurrentSyncshellTagStorage().OpenSyncshellTags.Remove(tag);
_syncshellTagConfig.Save();
}
internal void RemovePairTag(string tag)
{
RemoveTag(CurrentPairTagStorage().ServerAvailablePairTags, tag);