feat(thumbnails) Add changes to mobile context menu

- long touch on thumbnail opens context menu
- hide context menu icon
- add button for connection info to context menu
This commit is contained in:
hmuresan
2021-06-30 19:12:12 +03:00
committed by Horatiu Muresan
parent 0507f8c2f9
commit b995221a2b
15 changed files with 817 additions and 241 deletions

View File

@@ -2,6 +2,7 @@
import React, { Component } from 'react';
import { isMobileBrowser } from '../../../features/base/environment/utils';
import { translate } from '../../base/i18n';
/**
@@ -176,10 +177,11 @@ class ConnectionStatsTable extends Component<Props> {
*/
render() {
const { isLocalVideo, enableSaveLogs, disableShowMoreStats } = this.props;
const className = isMobileBrowser() ? 'connection-info connection-info__mobile' : 'connection-info';
return (
<div
className = 'connection-info'
className = { className }
onClick = { onClick }>
{ this._renderStatistics() }
<div className = 'connection-actions'>