Fixed renaming of syncshell tags

This commit is contained in:
CakeAndBanana
2025-10-07 23:10:41 +02:00
parent a772ee4705
commit 46db5c87e0

View File

@@ -504,7 +504,7 @@ public class ServerConfigurationManager
internal void RenameTag(Dictionary<string, List<string>> tags, HashSet<string> storage, string oldName, string newName) internal void RenameTag(Dictionary<string, List<string>> tags, HashSet<string> storage, string oldName, string newName)
{ {
if (newName.Length > _maxCharactersFolder) if (newName.Length < _maxCharactersFolder)
{ {
storage.Remove(oldName); storage.Remove(oldName);
storage.Add(newName); storage.Add(newName);