reaby / infoscreen3

info screen for lanparty
MIT License
24 stars 9 forks source link

Fix various crashes in case all bundles have been dropped #48

Closed kasimos closed 7 months ago

kasimos commented 7 months ago

In case someone delete all available bundles (or at least the one still active on a display), there were several places that crashed the app in case someone clicked a button. Having no bundles at all was also resulting in a cash on starting the app itself.

Now most places should be safeguarded either by if statements, optional chaining or proper exceptions related to the not existing bundles.

reaby commented 7 months ago

Many thanks!