fix: persist clock visibility change

This commit is contained in:
jelveh 2024-11-05 18:31:03 -08:00
parent ba2eb716f5
commit 1a6d648a6e

View File

@ -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);