import { getValueAndOnChange, useSettings } from "renderer/settings"; import { Common, Util } from "../vencord"; import "./settings.css"; const { Margins } = Util; export default function SettingsUi() { const Settings = useSettings(); const { Forms: { FormSection, FormText, FormDivider, FormSwitch, FormTitle }, Text, Select, Button } = Common; const switches: [keyof typeof Settings, string, string, boolean?][] = [ ["openLinksWithElectron", "Open Links in app", "Opens links in a new window instead of your WebBrowser"], ["disableMinSize", "Disable minimum window size", "Allows you to resize the window smaller than the default size"], ]; return ( Vencord Desktop Settings Discord Branch