Skip to content

Commit d8dfc86

Browse files
ryanlntnShawn Dempsey
authored andcommitted
remove view prop and fix build errors
1 parent 78ab294 commit d8dfc86

File tree

3 files changed

+12
-19
lines changed

3 files changed

+12
-19
lines changed

Libraries/Components/View/ReactNativeViewViewConfigMacOS.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ const ReactNativeViewViewConfigMacOS = {
3737
validAttributes: {
3838
acceptsFirstMouse: true,
3939
accessibilityTraits: true,
40-
cursor: true,
4140
draggedTypes: true,
4241
enableFocusRing: true,
4342
nextKeyViewTag: true,

Libraries/Components/View/ViewPropTypes.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import type {
2323
import type {EdgeInsetsProp} from '../../StyleSheet/EdgeInsetsPropType';
2424
import type {Node} from 'react';
2525
import type {ViewStyleProp} from '../../StyleSheet/StyleSheet';
26-
import type {CursorValue} from '../../StyleSheet/StyleSheetTypes';
2726
import type {
2827
AccessibilityRole,
2928
AccessibilityState,
@@ -638,9 +637,4 @@ export type ViewProps = $ReadOnly<{|
638637
* @platform macos
639638
*/
640639
draggedTypes?: ?DraggedTypesType, // TODO(macOS GH#774)
641-
642-
/*
643-
* Sets the type of mouse cursor, to show when the mouse pointer is over the view.
644-
*/
645-
cursor?: ?CursorValue, // TODO(macOS GH#774)
646640
|}>;

packages/rn-tester/RNTester/Info.plist

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>LSApplicationQueriesSchemes</key>
6-
<array>
7-
<string>tel</string>
8-
<string>telprompt</string>
9-
<string>http</string>
10-
<string>fb</string>
11-
<string>geo</string>
12-
</array>
13-
<key>UIStatusBarStyle</key>
14-
<string>UIStatusBarStyleBlackTranslucent</string>
155
<key>CFBundleDevelopmentRegion</key>
166
<string>en</string>
177
<key>CFBundleExecutable</key>
@@ -43,6 +33,14 @@
4333
</array>
4434
<key>CFBundleVersion</key>
4535
<string>1</string>
36+
<key>LSApplicationQueriesSchemes</key>
37+
<array>
38+
<string>tel</string>
39+
<string>telprompt</string>
40+
<string>http</string>
41+
<string>fb</string>
42+
<string>geo</string>
43+
</array>
4644
<key>LSRequiresIPhoneOS</key>
4745
<true/>
4846
<key>NSAppTransportSecurity</key>
@@ -52,12 +50,16 @@
5250
</dict>
5351
<key>NSLocationWhenInUseUsageDescription</key>
5452
<string>You need to add NSLocationWhenInUseUsageDescription key in Info.plist to enable geolocation, otherwise it is going to *fail silently*!</string>
53+
<key>NSPhotoLibraryUsageDescription</key>
54+
<string>You need to add NSPhotoLibraryUsageDescription key in Info.plist to enable photo library usage, otherwise it is going to *fail silently*!</string>
5555
<key>UILaunchStoryboardName</key>
5656
<string>LaunchScreen</string>
5757
<key>UIRequiredDeviceCapabilities</key>
5858
<array>
5959
<string>armv7</string>
6060
</array>
61+
<key>UIStatusBarStyle</key>
62+
<string>UIStatusBarStyleBlackTranslucent</string>
6163
<key>UISupportedInterfaceOrientations</key>
6264
<array>
6365
<string>UIInterfaceOrientationPortrait</string>
@@ -66,7 +68,5 @@
6668
</array>
6769
<key>UIViewControllerBasedStatusBarAppearance</key>
6870
<false/>
69-
<key>NSPhotoLibraryUsageDescription</key>
70-
<string>You need to add NSPhotoLibraryUsageDescription key in Info.plist to enable photo library usage, otherwise it is going to *fail silently*!</string>
7171
</dict>
7272
</plist>

0 commit comments

Comments
 (0)