2023-05-13 00:58:32 -07:00
|
|
|
import { Divider, Stack } from '@mantine/core';
|
2023-09-22 17:52:00 -07:00
|
|
|
import isElectron from 'is-electron';
|
2023-03-31 07:26:10 -07:00
|
|
|
import { WindowHotkeySettings } from './window-hotkey-settings';
|
2023-05-13 00:58:32 -07:00
|
|
|
import { HotkeyManagerSettings } from '/@/renderer/features/settings/components/hotkeys/hotkey-manager-settings';
|
2023-03-31 07:26:10 -07:00
|
|
|
|
|
|
|
|
export const HotkeysTab = () => {
|
2023-07-01 19:10:05 -07:00
|
|
|
return (
|
|
|
|
|
<Stack spacing="md">
|
2023-09-22 17:52:00 -07:00
|
|
|
{isElectron() && (
|
|
|
|
|
<>
|
|
|
|
|
<WindowHotkeySettings />
|
|
|
|
|
<Divider />
|
|
|
|
|
</>
|
|
|
|
|
)}
|
2023-07-01 19:10:05 -07:00
|
|
|
<HotkeyManagerSettings />
|
|
|
|
|
</Stack>
|
|
|
|
|
);
|
2023-03-31 07:26:10 -07:00
|
|
|
};
|