Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard shortcut modal #6306

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift click to select a range
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
Prev Previous commit
Next Next commit
Use keyboard icon for button, and check for usingElectron in showing it
  • Loading branch information
kommunarr committed Dec 8, 2024
commit 5be2becba96300ae8001bc097c966f120408cda1
2 changes: 2 additions & 0 deletions src/renderer/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 67,7 @@ import {
faImages,
faInfoCircle,
faKey,
faKeyboard,
faLanguage,
faLink,
faLinkSlash,
Expand Down Expand Up @@ -186,6 187,7 @@ library.add(
faImages,
faInfoCircle,
faKey,
faKeyboard,
faLanguage,
faLink,
faLinkSlash,
Expand Down
1 change: 1 addition & 0 deletions src/renderer/views/Settings/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 50,7 @@ export default defineComponent({
},
data: function () {
return {
usingElectron: process.env.IS_ELECTRON,
isInDesktopView: true,
settingsSectionTypeOpenInMobile: null,
unlocked: false
Expand Down
4 changes: 3 additions & 1 deletion src/renderer/views/Settings/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 23,9 @@
>
<div class="switchRow">
<ft-button
:label="$t('Settings.Show Keyboard Shortcuts')"
v-if="usingElectron"
:label="$t('KeyboardShortcutPrompt.Show Keyboard Shortcuts')"
:icon="['fas', 'keyboard']"
@click="showKeyboardShortcutPrompt"
/>
<ft-toggle-switch
Expand Down
1 change: 0 additions & 1 deletion static/locales/en-US.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 274,6 @@ Settings:
# On Settings Page
Settings: Settings
Sort Settings Sections (A-Z): Sort Settings Sections (A-Z)
Show Keyboard Shortcuts: Show Keyboard Shortcuts
Return to Settings Menu: Return to Settings Menu
The app needs to restart for changes to take effect. Restart and apply change?: The
app needs to restart for changes to take effect. Restart and apply change?
Expand Down
Loading