Browse Source
Merge pull request #12215 from Sorien/master
Fix typo in GetColorValues
pull/12219/head
Max Katz
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Native/NativePlatformSettings.cs
|
|
|
@ -23,7 +23,7 @@ internal class NativePlatformSettings : DefaultPlatformSettings |
|
|
|
AvnPlatformThemeVariant.Dark => (PlatformThemeVariant.Dark, ColorContrastPreference.NoPreference), |
|
|
|
AvnPlatformThemeVariant.Light => (PlatformThemeVariant.Light, ColorContrastPreference.NoPreference), |
|
|
|
AvnPlatformThemeVariant.HighContrastDark => (PlatformThemeVariant.Dark, ColorContrastPreference.High), |
|
|
|
AvnPlatformThemeVariant.HighContrastLight => (PlatformThemeVariant.Dark, ColorContrastPreference.High), |
|
|
|
AvnPlatformThemeVariant.HighContrastLight => (PlatformThemeVariant.Light, ColorContrastPreference.High), |
|
|
|
_ => throw new ArgumentOutOfRangeException() |
|
|
|
}; |
|
|
|
var color = _platformSettings.AccentColor; |
|
|
|
|