Add browser forward/back hotkeys (#155)

This commit is contained in:
jeffvli 2023-09-22 17:52:00 -07:00
parent 0cba405b45
commit 8cbc25a932
4 changed files with 17 additions and 2 deletions

View file

@ -1,12 +1,17 @@
import { Divider, Stack } from '@mantine/core';
import isElectron from 'is-electron';
import { WindowHotkeySettings } from './window-hotkey-settings';
import { HotkeyManagerSettings } from '/@/renderer/features/settings/components/hotkeys/hotkey-manager-settings';
export const HotkeysTab = () => {
return (
<Stack spacing="md">
<WindowHotkeySettings />
<Divider />
{isElectron() && (
<>
<WindowHotkeySettings />
<Divider />
</>
)}
<HotkeyManagerSettings />
</Stack>
);