Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
noob9527 committed Jan 13, 2024
1 parent 27669de commit 19e4846
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/browser/ipc/ipc-renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ function registerStorageEventListener(store: Store) {
const settingService = rendererContainer.get<SettingService>(SettingServiceToken);
await settingService.handleSettingChange(data.newValue, data.oldValue);
}
// currently we have to notify both state system..
store.dispatch({
type: 'setting/settingChanged',
payload: data.newValue,
});
settingChanged(data.newValue)
return data.newValue;
});
Expand Down

0 comments on commit 19e4846

Please sign in to comment.