Rewrite settings proxy to proper store

This commit is contained in:
Vendicated
2023-04-10 01:04:41 +02:00
parent ddebb6563a
commit c2eaa9d35a
8 changed files with 90 additions and 58 deletions

View File

@@ -25,7 +25,7 @@ export function makeLinksOpenExternally(win: BrowserWindow) {
switch (protocol) {
case "http:":
case "https:":
if (Settings.openLinksWithElectron) {
if (Settings.store.openLinksWithElectron) {
return { action: "allow" };
}
// eslint-disable-next-line no-fallthrough