applet: ensure CompactRep item exists before querying it
Fixes harmless error "TypeError: Cannot read property 'airplaneModeAvailable' of null".
-
🗯 @ratijasDevelopera better way to fix it would be to lift the property out of compact representation completely. there's no reason to define it there, especially when it's used in main.qml (in fact, in two places! the second one is just… not using it, but spelling out property's expression instead.)
-
🗯 @ratijasmentioned in merge request !218 (merged)
Please register or sign in to comment