From 131c276eb130d95f45066f0ff52de177353687da Mon Sep 17 00:00:00 2001 From: Jean Ouina Date: Tue, 26 May 2020 16:14:35 +0200 Subject: [PATCH] Overriding properties --- BetterDiscordApp/src/modules/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BetterDiscordApp/src/modules/utils.js b/BetterDiscordApp/src/modules/utils.js index e647f84..293f827 100644 --- a/BetterDiscordApp/src/modules/utils.js +++ b/BetterDiscordApp/src/modules/utils.js @@ -16,19 +16,19 @@ export default class Utils { static getAllWindowPreferences() { return { transparent: true, - frame: settingsCookie.frame + frame: false }; } static getWindowPreference(key) { if (key === "transparent") return true; - if (key === "frame") return settingsCookie.frame; + if (key === "frame") return false; return null; } static setWindowPreference(key, value) { if (key === "transparent") return true; - if (key === "frame") return settingsCookie.frame = value; + if (key === "frame") return false; return null; }