diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-06-06 18:29:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-06 18:29:36 -0400 |
commit | c831e14ed058bb78f58d5716cdbf1d3826674df9 (patch) | |
tree | fae914b6dac26c08e717da0f5d978e024bb48d34 /webapp/components/quick_switch_modal | |
parent | cc1feddb5f130cf0d766cdde0af98835ce016429 (diff) | |
download | chat-c831e14ed058bb78f58d5716cdbf1d3826674df9.tar.gz chat-c831e14ed058bb78f58d5716cdbf1d3826674df9.tar.bz2 chat-c831e14ed058bb78f58d5716cdbf1d3826674df9.zip |
Update help text for quick switcher (#6599)
Diffstat (limited to 'webapp/components/quick_switch_modal')
-rw-r--r-- | webapp/components/quick_switch_modal/quick_switch_modal.jsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/webapp/components/quick_switch_modal/quick_switch_modal.jsx b/webapp/components/quick_switch_modal/quick_switch_modal.jsx index 5ee074c31..24eb8fcba 100644 --- a/webapp/components/quick_switch_modal/quick_switch_modal.jsx +++ b/webapp/components/quick_switch_modal/quick_switch_modal.jsx @@ -274,18 +274,20 @@ export default class QuickSwitchModal extends React.PureComponent { } let help; - if (this.props.showTeamSwitcher) { + if (Utils.isMobile()) { + help = null; + } else if (this.props.showTeamSwitcher) { help = ( <FormattedMessage id='quick_switch_modal.help' - defaultMessage='Use TAB to toggle between teams/channels, ↑↓ to browse, ↵ to confirm, ESC to dismiss' + defaultMessage='Start typing then use TAB to toggle channels/teams, ↑↓ to browse, ↵ to select, and ESC to dismiss.' /> ); } else { help = ( <FormattedMessage id='quick_switch_modal.help_no_team' - defaultMessage='Type a channel name. Use ↑↓ to browse, ↵ to confirm, ESC to dismiss' + defaultMessage='Start typing then use ↑↓ to browse, ↵ to select, and ESC to dismiss.' /> ); } |