diff --git a/react/features/toolbox/components/ToolbarButton.native.js b/react/features/toolbox/components/ToolbarButton.native.js index 885f83ebd..13b134c68 100644 --- a/react/features/toolbox/components/ToolbarButton.native.js +++ b/react/features/toolbox/components/ToolbarButton.native.js @@ -37,7 +37,7 @@ class ToolbarButton extends AbstractToolbarButton { _renderButton(children) { const props = {}; - 'onClick' in this.props && (props.onPress = () => { + 'onClick' in this.props && (props.onPress = event => { const action = this.props.onClick(event); if (action) {