From 0d3c010cf7c75522ee227e02963b9a503f0953c1 Mon Sep 17 00:00:00 2001 From: Beaudan Date: Mon, 4 Mar 2019 12:36:19 +1100 Subject: [PATCH] I didn't realise there were 2 different windows between processes and I shouldn't have removed this --- preload.js | 1 + 1 file changed, 1 insertion(+) diff --git a/preload.js b/preload.js index 9d0cfe5f8..0942eaf55 100644 --- a/preload.js +++ b/preload.js @@ -161,6 +161,7 @@ installGetter('hide-menu-bar', 'getHideMenuBar'); installSetter('hide-menu-bar', 'setHideMenuBar'); // Get the message TTL setting +window.getMessageTTL = () => window.storage.get('message-ttl', 24); installGetter('message-ttl', 'getMessageTTL'); installSetter('message-ttl', 'setMessageTTL');