Fix logging_enabled param initial loading on Linux

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
This commit is contained in:
Vitaliy Vlasov 2018-12-24 16:08:42 +02:00
parent 8f48dc8df6
commit fb9c278bd0
No known key found for this signature in database
GPG Key ID: A7D57C347F2B2964
1 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,9 @@
(defn restore-native-settings! [] (defn restore-native-settings! []
(when platform/desktop? (when platform/desktop?
(.getValue rn-dependencies/desktop-config "logging_enabled" (.getValue rn-dependencies/desktop-config "logging_enabled"
#(re-frame/dispatch [:set-in [:desktop/desktop :logging-enabled] %1])))) #(re-frame/dispatch [:set-in [:desktop/desktop :logging-enabled]
(if (boolean? %1)
%1 (cljs.reader/read-string %1))]))))
;; TODO (yenda) move keychain functions to dedicated namespace ;; TODO (yenda) move keychain functions to dedicated namespace
(defn reset-keychain! [] (defn reset-keychain! []