Fix long-press overlay toggle (#138)
This commit is contained in:
parent
604dda65a3
commit
47c4e64a58
1 changed files with 6 additions and 3 deletions
|
|
@ -72,9 +72,12 @@ class _VideoChatState extends State<VideoChat> {
|
|||
Widget build(BuildContext context) {
|
||||
final settingsStore = _chatStore.settings;
|
||||
|
||||
final player = _Video(
|
||||
key: _videoKey,
|
||||
videoStore: _videoStore,
|
||||
final player = GestureDetector(
|
||||
onLongPress: _videoStore.handleToggleOverlay,
|
||||
child: _Video(
|
||||
key: _videoKey,
|
||||
videoStore: _videoStore,
|
||||
),
|
||||
);
|
||||
|
||||
final videoOverlay = _VideoOverlay(videoStore: _videoStore);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue