Skip to content

Commit

Permalink
feat: alt notif style settings option
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Jan 7, 2025
1 parent be7902d commit 7def724
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
16 changes: 16 additions & 0 deletions plugins/dorion-settings/pages/PerformancePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,22 @@ export function PerformancePage() {
</SwitchItem>

<Header class={classes.shead}>Optional Features</Header>
<SwitchItem
value={state().win7_style_notifications}
onChange={(v) =>
setSettings((settings) => (
{
...settings,
win7_style_notifications: v,
}
), true)
}
note="Use the alternative notification style used on Windows 7. This is only supported on Windows."
disabled={platform() !== 'windows'}
>
Alternative Notification Style
</SwitchItem>

<SwitchItem
value={state().streamer_mode_detection}
onChange={(v) =>
Expand Down
2 changes: 2 additions & 0 deletions types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ interface DorionSettings {
keybinds: Record<string, KeyStruct[]>;
keybinds_enabled: boolean;

win7_style_notifications: boolean;

// RPC-specific options
rpc_process_scanner: boolean;
rpc_ipc_connector: boolean;
Expand Down

0 comments on commit 7def724

Please sign in to comment.