react-native-macos 0.66.7 → 0.66.8
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/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Text/Text/RCTTextView.m +7 -1
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +1 -1
- package/template/package.json +1 -1
|
@@ -104,7 +104,13 @@
|
|
|
104
104
|
NSString *superDescription = super.description;
|
|
105
105
|
NSRange semicolonRange = [superDescription rangeOfString:@";"];
|
|
106
106
|
NSString *replacement = [NSString stringWithFormat:@"; reactTag: %@; text: %@", self.reactTag, _textStorage.string];
|
|
107
|
-
|
|
107
|
+
// [TODO(macOS GH#774): super.description isn't guaranteed to have a semicolon in it on macOS
|
|
108
|
+
if (semicolonRange.location == NSNotFound) {
|
|
109
|
+
return [superDescription stringByAppendingString:replacement];
|
|
110
|
+
} else {
|
|
111
|
+
return [superDescription stringByReplacingCharactersInRange:semicolonRange withString:replacement];
|
|
112
|
+
}
|
|
113
|
+
// TODO(macOS GH#774)]
|
|
108
114
|
}
|
|
109
115
|
|
|
110
116
|
- (void)setSelectable:(BOOL)selectable
|
package/React/Base/RCTVersion.m
CHANGED
package/package.json
CHANGED