File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
packages/react-native/Libraries/Text/TextInput/Multiline Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) Meta Platforms, Inc. and affiliates .
2+ * Copyright (c) Microsoft Corporation .
33 *
44 * This source code is licensed under the MIT license found in the
55 * LICENSE file in the root directory of this source tree.
66 */
77
8- #if TARGET_OS_OSX // [macOS
8+ // [macOS]
9+
10+ #if TARGET_OS_OSX
911
1012#import < React/RCTUIKit.h>
1113
@@ -25,4 +27,4 @@ NS_ASSUME_NONNULL_BEGIN
2527
2628NS_ASSUME_NONNULL_END
2729
28- #endif // macOS]
30+ #endif // TARGET_OS_OSX
Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) Meta Platforms, Inc. and affiliates .
2+ * Copyright (c) Microsoft Corporation .
33 *
44 * This source code is licensed under the MIT license found in the
55 * LICENSE file in the root directory of this source tree.
66 */
77
8- #if TARGET_OS_OSX // [macOS
8+ // [macOS]
9+
10+ #if TARGET_OS_OSX
911
1012#import < React/RCTWrappedTextView.h>
1113
@@ -185,10 +187,10 @@ - (void)setAttributedText:(NSAttributedString *)attributedText
185187// This method is there to match the textContainerInset property on RCTUITextField
186188- (void )setTextContainerInset : (UIEdgeInsets)textContainerInsets
187189{
188- // RCTUITextView has logic in setTextContainerInset[s] to convert th UIEdgeInsets to a valid NSSize struct
190+ // RCTUITextView has logic in setTextContainerInset[s] to convert the UIEdgeInsets to a valid NSSize struct
189191 _forwardingTextView.textContainerInsets = textContainerInsets;
190192}
191193
192194@end
193195
194- #endif // macOS]
196+ #endif // TARGET_OS_OSX
You can’t perform that action at this time.
0 commit comments