diff --git a/src/renderer/components/settings/DiscordBranchPicker.tsx b/src/renderer/components/settings/DiscordBranchPicker.tsx index 10ccd63..274e387 100644 --- a/src/renderer/components/settings/DiscordBranchPicker.tsx +++ b/src/renderer/components/settings/DiscordBranchPicker.tsx @@ -4,23 +4,26 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ +import { ErrorBoundary } from "@vencord/types/components"; import { Select } from "@vencord/types/webpack/common"; import { SettingsComponent } from "./Settings"; export const DiscordBranchPicker: SettingsComponent = ({ settings }) => { return ( - (settings.discordBranch = v)} + isSelected={v => v === settings.discordBranch} + serialize={s => s} + /> + ); }; diff --git a/src/renderer/components/settings/Settings.tsx b/src/renderer/components/settings/Settings.tsx index e1bca14..958da57 100644 --- a/src/renderer/components/settings/Settings.tsx +++ b/src/renderer/components/settings/Settings.tsx @@ -179,12 +179,12 @@ function SettingsSections() { export default ErrorBoundary.wrap( function SettingsUI() { return ( - +
Vesktop Settings - +
); }, { diff --git a/src/renderer/components/settings/WindowsTransparencyControls.tsx b/src/renderer/components/settings/WindowsTransparencyControls.tsx index 3e864a7..9147ded 100644 --- a/src/renderer/components/settings/WindowsTransparencyControls.tsx +++ b/src/renderer/components/settings/WindowsTransparencyControls.tsx @@ -4,6 +4,7 @@ * SPDX-License-Identifier: GPL-3.0-or-later */ +import { ErrorBoundary } from "@vencord/types/components"; import { Margins } from "@vencord/types/utils"; import { Forms, Select } from "@vencord/types/webpack/common"; @@ -13,35 +14,37 @@ export const WindowsTransparencyControls: SettingsComponent = ({ settings }) => if (!VesktopNative.app.supportsWindowsTransparency()) return null; return ( -
- Transparency Options - - Requires a full restart. You will need a theme that supports transparency for this to work. - + +
+ Transparency Options + + Requires a full restart. You will need a theme that supports transparency for this to work. + - (settings.transparencyOption = v)} + isSelected={v => v === settings.transparencyOption} + serialize={s => s} + /> +
+
); };