mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 03:31:05 +00:00
fix(iOS): compilation error
Modification and compilation failed.
This commit is contained in:
+1
-1
@@ -210,7 +210,7 @@ NSString *const CUSTOM_SELECTOR = @"_CUSTOM_SELECTOR_";
|
||||
UIMenuController *menuController = [UIMenuController sharedMenuController];
|
||||
NSMutableArray *menuControllerItems = [NSMutableArray arrayWithCapacity:self.menuItems.count];
|
||||
|
||||
for(NSString *menuItemName in self.menuItems) {
|
||||
for(NSDictionary *menuItem in self.menuItems) {
|
||||
NSString *menuItemLabel = [RCTConvert NSString:menuItem[@"label"]];
|
||||
NSString *menuItemKey = [RCTConvert NSString:menuItem[@"key"]];
|
||||
NSString *sel = [NSString stringWithFormat:@"%@%@", CUSTOM_SELECTOR, menuItemKey];
|
||||
|
||||
Reference in New Issue
Block a user