core&ui: ensure ui rebuild after langs load

This commit is contained in:
undefined committed 2025-10-13 22:50:08 +08:00
1 parent 83f74196ee
commit 0be2e5ce15
3 files changed
+3

No files matched your search

@@ -172,6 +172,7 @@ export async function apply(ctx: Context) {
debouncedBuildUI();
};
ctx.on('system/setting', () => triggerHotUpdate());
ctx.on('system/setting-loaded', () => triggerHotUpdate());
ctx.on('app/watch/change', triggerHotUpdate);
ctx.on('app/watch/unlink', triggerHotUpdate);
ctx.on('app/i18n/update', debouncedBuildUI);