status/thunderbolt: Small style cleanup
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3188>
This commit is contained in:
parent
2bbe03c473
commit
502a592362
@ -265,9 +265,8 @@ class Indicator extends SystemIndicator {
|
||||
this._notification = null;
|
||||
});
|
||||
this._notification.connect('activated', () => {
|
||||
let app = Shell.AppSystem.get_default().lookup_app('gnome-thunderbolt-panel.desktop');
|
||||
if (app)
|
||||
app.activate();
|
||||
const app = Shell.AppSystem.get_default().lookup_app('gnome-thunderbolt-panel.desktop');
|
||||
app?.activate();
|
||||
});
|
||||
source.showNotification(this._notification);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user