Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski authored Jan 21, 2025
1 parent e59a50f commit a753761
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion apps/example/src/Examples/NativeBottomTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function NativeBottomTabs() {
console.log(
`${Platform.OS}: Long press detected on tab with key ${data.target} at the screen level.`
);
setLabel("CHANGED")
setLabel('New Article')
},
}}
options={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ class ReactBottomNavigationView(context: ReactContext) : LinearLayout(context) {
LayoutParams.WRAP_CONTENT
))


post {
addOnLayoutChangeListener { _, left, top, right, bottom,
_, _, _, _ ->
Expand Down Expand Up @@ -203,7 +202,6 @@ class ReactBottomNavigationView(context: ReactContext) : LinearLayout(context) {
onTabSelectedListener?.invoke(selectedItem.key)
emitHapticFeedback(HapticFeedbackConstants.CONTEXT_CLICK)
}

}

private fun onTabLongPressed(item: MenuItem) {
Expand Down

0 comments on commit a753761

Please sign in to comment.