[FlightPage] Fix display of airport
ClosedPublic

Authored by broulik on Sun, Nov 24, 8:48 AM.

Details

Summary

Handle the case when airport name isn't available

Test Plan

Now shows "TXL" instead of just "GERMANY"

Diff Detail

Repository
R1007 Itinerary - Travel Assistance Application
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Sun, Nov 24, 8:48 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptSun, Nov 24, 8:48 AM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
broulik requested review of this revision.Sun, Nov 24, 8:48 AM
nicolasfella added inline comments.
src/app/FlightPage.qml
39

else is not really needed since you return

vkrause accepted this revision.Sun, Nov 24, 7:34 PM
This revision is now accepted and ready to land.Sun, Nov 24, 7:34 PM
This revision was automatically updated to reflect the committed changes.