2024-05-05 13:25:05 -07:00
|
|
|
import { Stack } from '@mantine/core';
|
2023-03-31 05:42:48 -07:00
|
|
|
import { UpdateSettings } from '/@/renderer/features/settings/components/window/update-settings';
|
|
|
|
|
import { WindowSettings } from '/@/renderer/features/settings/components/window/window-settings';
|
2023-10-23 06:58:39 -07:00
|
|
|
import { DiscordSettings } from '/@/renderer/features/settings/components/window/discord-settings';
|
2024-02-09 23:20:01 +00:00
|
|
|
import isElectron from 'is-electron';
|
|
|
|
|
import { PasswordSettings } from '/@/renderer/features/settings/components/window/password-settings';
|
|
|
|
|
|
|
|
|
|
const utils = isElectron() ? window.electron.utils : null;
|
2023-03-30 06:44:33 -07:00
|
|
|
|
|
|
|
|
export const WindowTab = () => {
|
2023-07-01 19:10:05 -07:00
|
|
|
return (
|
|
|
|
|
<Stack spacing="md">
|
|
|
|
|
<WindowSettings />
|
2023-10-23 06:58:39 -07:00
|
|
|
<DiscordSettings />
|
2023-07-01 19:10:05 -07:00
|
|
|
<UpdateSettings />
|
2024-02-09 23:20:01 +00:00
|
|
|
{utils?.isLinux() && (
|
|
|
|
|
<>
|
|
|
|
|
<PasswordSettings />
|
|
|
|
|
</>
|
|
|
|
|
)}
|
2023-07-01 19:10:05 -07:00
|
|
|
</Stack>
|
|
|
|
|
);
|
2023-03-30 06:44:33 -07:00
|
|
|
};
|