We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14295ba commit c8094e6Copy full SHA for c8094e6
packages/react-native-bottom-tabs/ios/TabView/NewTabView.swift
@@ -21,7 +21,7 @@ struct NewTabView: AnyTabView {
21
if tabData.role == "search" {
22
return .search
23
}
24
-
+
25
return nil
26
27
packages/react-native-bottom-tabs/ios/TabViewProvider.swift
@@ -277,7 +277,7 @@ public final class TabInfo: NSObject {
277
activeTintColor: RCTConvert.uiColor(itemDict["activeTintColor"] as? NSNumber),
278
hidden: itemDict["hidden"] as? Bool ?? false,
279
testID: itemDict["testID"] as? String ?? "",
280
- role: itemDict["role"] as? String ?? nil,
+ role: itemDict["role"] as? String,
281
)
282
283
0 commit comments