From c831e14ed058bb78f58d5716cdbf1d3826674df9 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Tue, 6 Jun 2017 18:29:36 -0400 Subject: [PATCH] Update help text for quick switcher (#6599) --- .../components/quick_switch_modal/quick_switch_modal.jsx | 8 +++++--- webapp/i18n/en.json | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/webapp/components/quick_switch_modal/quick_switch_modal.jsx b/webapp/components/quick_switch_modal/quick_switch_modal.jsx index 5ee074c314..24eb8fcba3 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 = ( ); } else { help = ( ); } diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json index 25c671f47a..9c223bb34c 100755 --- a/webapp/i18n/en.json +++ b/webapp/i18n/en.json @@ -1169,8 +1169,8 @@ "channel_select.placeholder": "--- Select a channel ---", "channel_switch_modal.dm": "(Direct Message)", "channel_switch_modal.failed_to_open": "Failed to open channel.", - "quick_switch_modal.help": "Use TAB to toggle between teams/channels, ↑↓ to browse, ↵ to confirm, ESC to dismiss", - "quick_switch_modal.help_no_team": "Type a channel name. Use ↑↓ to browse, ↵ to confirm, ESC to dismiss", + "quick_switch_modal.help": "Start typing then use TAB to toggle channels/teams, ↑↓ to browse, ↵ to select, and ESC to dismiss.", + "quick_switch_modal.help_no_team": "Start typing then use ↑↓ to browse, ↵ to select, and ESC to dismiss.", "quick_switch_modal.channels": "Channels", "quick_switch_modal.teams": "Teams", "quick_switch_modal.teamsShortcut.mac": "- ⌘⌥K",