mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 09:38:19 +08:00
core&ui: trigger i18n update event
This commit is contained in:
3 files changed
+9
-2
No files matched your search
@@ -145,5 +145,6 @@ export async function apply(ctx: Context) {
|
||||
ctx.on('system/setting', () => triggerHotUpdate());
|
||||
ctx.on('app/watch/change', triggerHotUpdate);
|
||||
ctx.on('app/watch/unlink', triggerHotUpdate);
|
||||
ctx.on('app/i18n/update', debouncedBuildUI);
|
||||
debouncedBuildUI();
|
||||
}
|
||||
Reference in new issue
Block a user