@jobber/components-native 0.87.0 → 0.87.1
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components-native",
|
|
3
|
-
"version": "0.87.
|
|
3
|
+
"version": "0.87.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "React Native implementation of Atlantis",
|
|
6
6
|
"repository": {
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"react-native-safe-area-context": "^5.4.0",
|
|
96
96
|
"react-native-svg": ">=12.0.0"
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "a26eb1f7a5e8759d3ffbecbf81f846895c47aad4"
|
|
99
99
|
}
|
|
@@ -85,6 +85,12 @@ export function BaseSwitch({
|
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
+
// Temporary fix for iOS 26. Remove when we upgrade to RN 0.81.
|
|
89
|
+
// https://github.com/facebook/react-native/pull/53389
|
|
90
|
+
const iOSBackgroundColor =
|
|
91
|
+
Platform.OS === "ios" && Platform.Version?.startsWith("26.")
|
|
92
|
+
? undefined
|
|
93
|
+
: tokens["color-interactive--background"];
|
|
88
94
|
|
|
89
95
|
return (
|
|
90
96
|
<Switch
|
|
@@ -98,7 +104,7 @@ export function BaseSwitch({
|
|
|
98
104
|
disabled={disabled}
|
|
99
105
|
thumbColor={getThumbColor()}
|
|
100
106
|
trackColor={getTrackColors()}
|
|
101
|
-
ios_backgroundColor={
|
|
107
|
+
ios_backgroundColor={iOSBackgroundColor}
|
|
102
108
|
accessibilityLabel={accessibilityLabel}
|
|
103
109
|
accessibilityRole={"switch"}
|
|
104
110
|
accessibilityState={{
|