Skip to content

Commit 1e0dd9b

Browse files
committed
fix(android): assign role in RCTTabViewImpl
1 parent b316f2f commit 1e0dd9b

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ class RCTTabViewImpl {
3636
badge = if (item.hasKey("badge")) item.getString("badge") else null,
3737
activeTintColor = if (item.hasKey("activeTintColor")) item.getInt("activeTintColor") else null,
3838
hidden = if (item.hasKey("hidden")) item.getBoolean("hidden") else false,
39-
testID = item.getString("testID")
39+
testID = item.getString("testID"),
40+
role = item.getString("role"),
4041
)
4142
)
4243
}

0 commit comments

Comments
 (0)