martinpl / tray-icons-reloaded

GNOME Shell extension which bring back Tray Icons to top panel, with additional features.
GNU General Public License v3.0
490 stars 29 forks source link

Added checking app for null #71

Closed Noobsai closed 2 years ago

Noobsai commented 2 years ago

Fixed the error on adding the Telegram Desktop icon:

JS ERROR: TypeError: app is null
getTrayApp@/trayIconsReloaded@selfmade.pl/AppManager.js:77:8
getAppSetting@/trayIconsReloaded@selfmade.pl/AppManager.js:54:28
addIcon@/trayIconsReloaded@selfmade.pl/TrayIndicator.js:51:32
_onIconAdded@/trayIconsReloaded@selfmade.pl/extension.js:19:71

Maybe it fixes other bugs #64, #66