invite: merge InviteButton and InfoDialogButton on mobile

This commit is contained in:
Saúl Ibarra Corretgé
2020-03-24 12:18:25 +01:00
committed by Saúl Ibarra Corretgé
parent 579d08e27e
commit 8cd881945a
6 changed files with 19 additions and 65 deletions

View File

@@ -9,7 +9,7 @@ import { Container } from '../../../base/react';
import { connect } from '../../../base/redux';
import { StyleType } from '../../../base/styles';
import { ChatButton } from '../../../chat';
import { InfoDialogButton } from '../../../invite';
import { InviteButton } from '../../../invite';
import { isToolboxVisible } from '../../functions';
@@ -122,7 +122,7 @@ class Toolbox extends PureComponent<Props> {
}
{
!_chatEnabled
&& <InfoDialogButton
&& <InviteButton
styles = { buttonStyles }
toggledStyles = { toggledButtonStyles } />
}