forked from abner/for-legacy-web
feat: add minimise to tray option
This commit is contained in:
@@ -44,6 +44,18 @@ export function Native() {
|
||||
Start with computer
|
||||
</Checkbox>
|
||||
|
||||
<Checkbox
|
||||
checked={config.minimiseToTray}
|
||||
onChange={(minimiseToTray) => {
|
||||
window.native.set("minimiseToTray", minimiseToTray);
|
||||
setConfig({
|
||||
...config,
|
||||
minimiseToTray,
|
||||
});
|
||||
}}
|
||||
description="Instead of closing, Revolt will hide in your tray.">
|
||||
Minimise to Tray
|
||||
</Checkbox>
|
||||
<Checkbox
|
||||
checked={config.discordRPC}
|
||||
onChange={(discordRPC) => {
|
||||
|
||||
Reference in New Issue
Block a user