Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/longpress_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ class LongPressScreenState extends State<LongPressScreen> {
pages[labels.indexOf("AD")] = InteractiveViewer(maxScale: 5, child: ad);

Weather? w = Storage().metar.get(showDestination.locationID);
// bspatz: sidestep 42J as K42J, or X60 as KX60 in FAA METARs (no TAF examples of this in weather.db:{metar,taf})
if ((w == null) && (showDestination.locationID[0] != 'K')) w = Storage().metar.get("K${showDestination.locationID}");
Weather? w1 = Storage().taf.get(showDestination.locationID);
if(w != null || w1 != null) {
pages[labels.indexOf("METAR")] = ListView(children: [
Expand Down