diff --git a/NickvisionTagger.GNOME/Controls/MusicFileRow.cs b/NickvisionTagger.GNOME/Controls/MusicFileRow.cs index 8bc8455d..427bc68e 100644 --- a/NickvisionTagger.GNOME/Controls/MusicFileRow.cs +++ b/NickvisionTagger.GNOME/Controls/MusicFileRow.cs @@ -1,7 +1,6 @@ using NickvisionTagger.GNOME.Helpers; using NickvisionTagger.Shared.Models; using System; -using System.Text.RegularExpressions; namespace NickvisionTagger.GNOME.Controls; diff --git a/NickvisionTagger.Shared/Models/MusicFile.cs b/NickvisionTagger.Shared/Models/MusicFile.cs index c61df610..7d82352b 100644 --- a/NickvisionTagger.Shared/Models/MusicFile.cs +++ b/NickvisionTagger.Shared/Models/MusicFile.cs @@ -150,7 +150,7 @@ public string Filename newFilename += _dotExtension; } var invalidCharacters = _invalidSystemFilenameCharacters; - if(!RuntimeInformation.IsOSPlatform(OSPlatform.Windows) && LimitFilenameCharacters) + if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows) && LimitFilenameCharacters) { invalidCharacters = _invalidSystemFilenameCharacters.Union(_invalidWindowsFilenameCharacters); }