Skip to content

Commit 1322706

Browse files
committed
fix(android): remove role prop
1 parent f913f13 commit 1322706

File tree

1 file changed

+1
-3
lines changed
  • packages/react-native-bottom-tabs/android/src/main/java/com/rcttabview

1 file changed

+1
-3
lines changed

packages/react-native-bottom-tabs/android/src/main/java/com/rcttabview/RCTTabViewImpl.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ data class TabInfo(
1717
val activeTintColor: Int?,
1818
val hidden: Boolean,
1919
val testID: String?,
20-
val role: String?
2120
)
2221

2322
class RCTTabViewImpl {
@@ -36,8 +35,7 @@ class RCTTabViewImpl {
3635
badge = if (item.hasKey("badge")) item.getString("badge") else null,
3736
activeTintColor = if (item.hasKey("activeTintColor")) item.getInt("activeTintColor") else null,
3837
hidden = if (item.hasKey("hidden")) item.getBoolean("hidden") else false,
39-
testID = item.getString("testID"),
40-
role = item.getString("role"),
38+
testID = item.getString("testID")
4139
)
4240
)
4341
}

0 commit comments

Comments
 (0)