react-native-windows 0.69.1 → 0.69.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -139,13 +139,20 @@ bool TryUpdateForeground(
|
|
|
139
139
|
const std::string &propertyName,
|
|
140
140
|
const winrt::Microsoft::ReactNative::JSValue &propertyValue) {
|
|
141
141
|
if (propertyName == "color") {
|
|
142
|
+
auto uielement = element.try_as<xaml::UIElement>();
|
|
142
143
|
if (IsValidColorValue(propertyValue)) {
|
|
143
144
|
const auto brush = BrushFrom(propertyValue);
|
|
144
145
|
element.Foreground(brush);
|
|
145
146
|
UpdateControlForegroundResourceBrushes(element, brush);
|
|
147
|
+
if (uielement) {
|
|
148
|
+
uielement.HighContrastAdjustment(xaml::ElementHighContrastAdjustment::None);
|
|
149
|
+
}
|
|
146
150
|
} else if (propertyValue.IsNull()) {
|
|
147
151
|
element.ClearValue(T::ForegroundProperty());
|
|
148
152
|
UpdateControlForegroundResourceBrushes(element, nullptr);
|
|
153
|
+
if (uielement) {
|
|
154
|
+
uielement.HighContrastAdjustment(xaml::ElementHighContrastAdjustment::Application);
|
|
155
|
+
}
|
|
149
156
|
}
|
|
150
157
|
|
|
151
158
|
return true;
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
-->
|
|
11
11
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
12
12
|
<PropertyGroup>
|
|
13
|
-
<ReactNativeWindowsVersion>0.69.
|
|
13
|
+
<ReactNativeWindowsVersion>0.69.2</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>69</ReactNativeWindowsMinor>
|
|
16
|
-
<ReactNativeWindowsPatch>
|
|
16
|
+
<ReactNativeWindowsPatch>2</ReactNativeWindowsPatch>
|
|
17
17
|
<ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
|
|
18
18
|
</PropertyGroup>
|
|
19
19
|
</Project>
|