浏览代码

[RN] Fix a react warning on remote video menu

j8
Bettenbuk Zoltan 6 年前
父节点
当前提交
82f6931ee8
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      react/features/filmstrip/components/native/Thumbnail.js

+ 2
- 1
react/features/filmstrip/components/native/Thumbnail.js 查看文件

@@ -131,7 +131,8 @@ class Thumbnail extends Component<Props> {
131 131
             <Container
132 132
                 onClick = { disablePin ? undefined : this._onClick }
133 133
                 onLongPress = {
134
-                    showRemoteVideoMenu && this._onShowRemoteVideoMenu }
134
+                    showRemoteVideoMenu
135
+                        ? this._onShowRemoteVideoMenu : undefined }
135 136
                 style = { [
136 137
                     styles.thumbnail,
137 138
                     participant.pinned && !disablePin

正在加载...
取消
保存