diff --git a/src/pages/settings/panes/Native.tsx b/src/pages/settings/panes/Native.tsx index 6d043b31..235a39b9 100644 --- a/src/pages/settings/panes/Native.tsx +++ b/src/pages/settings/panes/Native.tsx @@ -25,6 +25,7 @@ export function Native(props: Props) { return (

App Behavior

+
Some options might require a restart.
Start with computer + + { - window.native.set( - "hardwareAcceleration", - hardwareAcceleration, - ); - setHintRelaunch(true); + checked={config.discordRPC} + onChange={(discordRPC) => { + window.native.set("discordRPC", discordRPC); setConfig({ ...config, - hardwareAcceleration, + discordRPC, }); }} - description="Use the GPU to render the app, disable if you run into visual issues."> - Hardware Acceleration + description="Rep Revolt on your Discord status."> + Enable Discord status + { + const build = nightly ? "nightly" : "stable"; + window.native.set("build", build); + setHintReload(true); + setConfig({ + ...config, + build, + }); + }} + description="Use the beta branch of Revolt."> + Revolt Nightly + +

Titlebar

{ @@ -69,31 +83,36 @@ export function Native(props: Props) { description={<>Let Revolt use its own window frame.}> Custom window frame - { - window.native.set("discordRPC", discordRPC); + { + window.native.set("frame", !frame); + setHintRelaunch(true); setConfig({ ...config, - discordRPC, + frame: !frame, }); }} - description={<>Rep Revolt on your Discord status.}> - Discord RPC + description="Show mute/deafen buttons on the titlebar."> + Enable quick action buttons +

Advanced

{ - const build = nightly ? "nightly" : "stable"; - window.native.set("build", build); - setHintReload(true); + checked={config.hardwareAcceleration} + onChange={async (hardwareAcceleration) => { + window.native.set( + "hardwareAcceleration", + hardwareAcceleration, + ); + setHintRelaunch(true); setConfig({ ...config, - build, + hardwareAcceleration, }); }} - description={<>Use the beta branch of Revolt.}> - Revolt Nightly + description="Uses your GPU to render the app, disable if you run into visual issues."> + Hardware Acceleration

-

+ ) : ( <> ); -} +} \ No newline at end of file