forked from Keelrleek/SoulStream
community: the inbox check belongs to the app, not to the page that happened to be open
This commit is contained in:
1 parent
fd216ecd3d
commit
b3c121fa94
3 files changed
+77
-18
No files matched your search
@@ -37,6 +37,7 @@
|
||||
refreshRecents,
|
||||
restoreSession,
|
||||
} from "./lib/state.svelte.js";
|
||||
import { startInboxWatch } from "./lib/community.svelte.js";
|
||||
import { floatScroll } from "./lib/scrollbar.js";
|
||||
import { initMiniBridge } from "./lib/miniBridge.svelte.js";
|
||||
import { applyGlass, armGlassResizeGuard } from "./lib/glass.js";
|
||||
@@ -134,6 +135,9 @@
|
||||
// this way the mode can be toggled mid-drag without leaving stale state.
|
||||
armGlassResizeGuard();
|
||||
autoConnect();
|
||||
// Sealed cargo arrives on the inbox check, and that has to keep happening
|
||||
// wherever the user is — not only while the Community page is mounted.
|
||||
void startInboxWatch();
|
||||
refreshLibrary();
|
||||
refreshPlaylists();
|
||||
refreshRecents();
|
||||
|
||||
Reference in new issue
Block a user