mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 21:49:59 +02:00
Merge pull request #67 from kristijanribaric/fix/update-workspace-them-after-applying-sync-data
Fix: Notify theme picker when workspace has synced
This commit is contained in:
commit
a6c815f039
1 changed files with 3 additions and 0 deletions
|
@ -65,6 +65,9 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||||
lastChangeTimestamp > this._workspaceCache.lastChangeTimestamp
|
lastChangeTimestamp > this._workspaceCache.lastChangeTimestamp
|
||||||
) {
|
) {
|
||||||
await this._propagateWorkspaceData();
|
await this._propagateWorkspaceData();
|
||||||
|
|
||||||
|
const currentWorkspace = await this.getActiveWorkspace();
|
||||||
|
await gZenThemePicker.onWorkspaceChange(currentWorkspace);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error updating workspaces after sync:', error);
|
console.error('Error updating workspaces after sync:', error);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue