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:
mr. m 🤙 2024-10-26 23:38:52 +03:00 committed by GitHub
commit a6c815f039
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,6 +65,9 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
lastChangeTimestamp > this._workspaceCache.lastChangeTimestamp
) {
await this._propagateWorkspaceData();
const currentWorkspace = await this.getActiveWorkspace();
await gZenThemePicker.onWorkspaceChange(currentWorkspace);
}
} catch (error) {
console.error('Error updating workspaces after sync:', error);