mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-17 23:27:48 +00:00
[RN] Add remote video menu
This commit is contained in:
committed by
Zoltan Bettenbuk
parent
d4c0840659
commit
6b68fba220
@@ -27,6 +27,7 @@ export default class Container<P: Props> extends AbstractContainer<P> {
|
||||
accessibilityLabel,
|
||||
accessible,
|
||||
onClick,
|
||||
onLongPress,
|
||||
touchFeedback = onClick,
|
||||
underlayColor,
|
||||
visible = true,
|
||||
@@ -38,7 +39,7 @@ export default class Container<P: Props> extends AbstractContainer<P> {
|
||||
return null;
|
||||
}
|
||||
|
||||
const onClickOrTouchFeedback = onClick || touchFeedback;
|
||||
const onClickOrTouchFeedback = onClick || onLongPress || touchFeedback;
|
||||
let element
|
||||
= super._render(
|
||||
View,
|
||||
@@ -57,6 +58,7 @@ export default class Container<P: Props> extends AbstractContainer<P> {
|
||||
{
|
||||
accessibilityLabel,
|
||||
accessible,
|
||||
onLongPress,
|
||||
onPress: onClick,
|
||||
...touchFeedback && { underlayColor }
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user