Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MauiIcon ForegroundScale on systems with comma as decimal separat…
…or (#11690) ### Description of Change Specifying the `ForegroundScale` with a dot caused an issue on systems with commas as decimal separators. The image got upscaled instead of downscaled on those systems because the `ForegroundScale` was parsed without passing `InvariantCulture` as culture info. Because of this, the existing implementation only worked on systems with a dot as a decimal separator. In order to solve the issue, the InvariantCulture get's now used when parsing `ForegroundScale` Fixes #11685
- Loading branch information