Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

feat(faq): remove keyboard shortcuts button #9342

Merged
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ export default class HelpUserSettingsTab extends React.Component<IProps, IState>
return `${appVersion}\n${olmVersion}`;
};


private onKeyboardShortcutsClicked = (): void => {
dis.dispatch<OpenToTabPayload>({
action: Action.ViewUserSettings,
Expand Down Expand Up @@ -333,14 +334,10 @@ export default class HelpUserSettingsTab extends React.Component<IProps, IState>
const { appVersion, olmVersion } = this.getVersionInfo();

return (

<SettingsTab>
<SettingsSection heading={_t("Help & About")}>
{bugReportingSection}
<SettingsSubsection heading={_t("FAQ")} description={faqText}>
<AccessibleButton kind="primary" onClick={this.onKeyboardShortcutsClicked}>
{_t("Keyboard Shortcuts")}
</AccessibleButton>
</SettingsSubsection>
<SettingsSubsection heading={_t("Versions")}>
<SettingsSubsectionText>
<CopyableText getTextToCopy={this.getVersionTextToCopy}>
Expand Down