diff --git a/js/views/settings_view.js b/js/views/settings_view.js index 9cadfc4b3..9cb46c865 100644 --- a/js/views/settings_view.js +++ b/js/views/settings_view.js @@ -71,6 +71,7 @@ }, populate() { this.$('input').val(this.value); + this.$('label').html(`${this.value} Hours`); }, }); diff --git a/preload.js b/preload.js index a01aec06f..9f7f90f8e 100644 --- a/preload.js +++ b/preload.js @@ -160,7 +160,6 @@ 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');