diff options
author | Minteck <46352972+Minteck@users.noreply.github.com> | 2021-07-14 01:12:14 +0200 |
---|---|---|
committer | Minteck <46352972+Minteck@users.noreply.github.com> | 2021-07-14 01:12:14 +0200 |
commit | 0f0e3de9353c06dfaabc00682b4c2fd9c5f48924 (patch) | |
tree | aef2474d205aea7865f7c9a4f17ffee474bbe7bc /views/script/settings_load.js | |
parent | c3b756f987ffd8ca981c1e6f23435c74aad36aea (diff) | |
download | kartik-client-0f0e3de9353c06dfaabc00682b4c2fd9c5f48924.tar.gz kartik-client-0f0e3de9353c06dfaabc00682b4c2fd9c5f48924.tar.bz2 kartik-client-0f0e3de9353c06dfaabc00682b4c2fd9c5f48924.zip |
Kartik Fox Nest!
Diffstat (limited to 'views/script/settings_load.js')
-rw-r--r-- | views/script/settings_load.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/script/settings_load.js b/views/script/settings_load.js index 030a7dd..b15b125 100644 --- a/views/script/settings_load.js +++ b/views/script/settings_load.js @@ -9,7 +9,7 @@ if (require('@electron/remote').getCurrentWindow().music) { document.getElementById("setting-music").innerText = "0"; } -if (require('fs').readFileSync(homedir + "/.kartik/config/voice.txt").toString() === "2") { +if (currentNest.config.voice === true) { document.getElementById("setting-voice").innerText = "1"; } else { document.getElementById("setting-voice").innerText = "0"; |