From 1a6d648a6ecdda07b23da9e6f4ef49b70b54cce1 Mon Sep 17 00:00:00 2001 From: jelveh Date: Tue, 5 Nov 2024 18:31:03 -0800 Subject: [PATCH] fix: persist clock visibility change --- src/gui/src/UI/Settings/UITabPersonalization.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gui/src/UI/Settings/UITabPersonalization.js b/src/gui/src/UI/Settings/UITabPersonalization.js index 99e2aabf..b1ce672d 100644 --- a/src/gui/src/UI/Settings/UITabPersonalization.js +++ b/src/gui/src/UI/Settings/UITabPersonalization.js @@ -98,6 +98,12 @@ export default { }); }); + $el_window.on('change', 'select.change-clock-visible', function(e){ + window.change_clock_visible(this.value); + }); + + window.change_clock_visible(); + puter.kv.get('menubar_style').then(async (val) => { if(val === 'system' || !val){ $el_window.find('#menubar_style_system').prop('checked', true);