tweak: disable sidebar_items polling

This commit is contained in:
jelveh 2024-11-13 15:45:02 -08:00
parent 599c7ad0a1
commit 9a311058ef

View File

@ -569,11 +569,11 @@ async function UIDesktop(options){
window.sidebar_items = val; window.sidebar_items = val;
}) })
// also update every 2 seconds // also update every 2 seconds
setInterval(async () => { // setInterval(async () => {
puter.kv.get("sidebar_items").then(async (val) => { // puter.kv.get("sidebar_items").then(async (val) => {
window.sidebar_items = val; // window.sidebar_items = val;
}) // })
}, 2000); // }, 2000);
// Get menubar style // Get menubar style
puter.kv.get('menubar_style').then(async (val) => { puter.kv.get('menubar_style').then(async (val) => {