Skip to content

Commit 9a31105

Browse files
committed
tweak: disable sidebar_items polling
1 parent 599c7ad commit 9a31105

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/gui/src/UI/UIDesktop.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -569,11 +569,11 @@ async function UIDesktop(options){
569569
window.sidebar_items = val;
570570
})
571571
// also update every 2 seconds
572-
setInterval(async () => {
573-
puter.kv.get("sidebar_items").then(async (val) => {
574-
window.sidebar_items = val;
575-
})
576-
}, 2000);
572+
// setInterval(async () => {
573+
// puter.kv.get("sidebar_items").then(async (val) => {
574+
// window.sidebar_items = val;
575+
// })
576+
// }, 2000);
577577

578578
// Get menubar style
579579
puter.kv.get('menubar_style').then(async (val) => {

0 commit comments

Comments
 (0)