Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

[RN] Fix regression handling ToolbarButton onPress

Saúl Ibarra Corretgéf6ccacb7dfc6
diff --git a/react/features/toolbox/components/ToolbarButton.native.js b/react/features/toolbox/components/ToolbarButton.native.js
index 885f83ebd4..13b134c680 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) {