Update indicator on current-realm property change

...even if WorkspaceContext does not change.
This commit is contained in:
Bruce Leidl 2024-04-10 09:24:32 -04:00
parent 7453b968f5
commit f57f805dd5

View File

@ -34,6 +34,9 @@ export const RealmManager = class {
Main.overview.dash._queueRedisplay();
this._realmIndicator.update();
});
realms.connect('notify::current-realm', () => {
this._realmIndicator.update();
});
this._switchAnimation = new RealmSwitcher.ContextSwitchAnimationController(this._realmIndicator);