removed restrictions for image-resizer file format (#3377)

This commit is contained in:
Lavius Motileng
2020-06-04 11:05:28 -07:00
committed by GitHub
parent 7c7ccc3a07
commit 30cb7e62fd
2 changed files with 1 additions and 36 deletions

View File

@@ -178,10 +178,7 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
set
{
var regex = @"[%]{1}[1-6]{1} [(]{1}[%]{1}[1-6]{1}[)]{1}";
Match match = Regex.Match(value.Trim(), regex);
if (!string.IsNullOrWhiteSpace(value) && match.Success)
if (!string.IsNullOrWhiteSpace(value))
{
_fileName = value;
Settings.Properties.ImageresizerFileName.Value = value;