Redth / ResizetizerNT

Add SVG's and PNG's to your shared Xamarin Project
MIT License
318 stars 31 forks source link

Use item alias to check for invalid file names #80

Open nll opened 3 years ago

nll commented 3 years ago

The changes done on #55 that adds the ability to define an alias for an item did update the validation on SharedImageInfo.cs to use its OutputName (where the OutputName is the Alias if defined otherwise the Filename).

Then the changes on #56 move that validation to Utils.cs where we just check item filename.

This is a simple "quick fix" to resolve the situation where the alias is a valid filename. (as it's the OutputName that will be used to generate the final filename, right ?)