altosuilib: Mark 'Configure AltosUI' window with maps key status
[fw/altos] / altosuilib / AltosUIConfigure.java
index 5ab615e8ed92b890d87e0b79a64f2f694bc0ce7d..5648d1dfd5f78811c0b9981e3f5437e258133fc1 100644 (file)
@@ -268,7 +268,9 @@ public class AltosUIConfigure
                         constraints(0, 3));
                row++;
 
-               pane.add(new JLabel (String.format("AltOS version %s", AltosUIVersion.version)),
+               pane.add(new JLabel (String.format("AltOS version %s (%smaps key)",
+                                                  AltosUIVersion.version,
+                                                  AltosUIVersion.has_google_maps_api_key() ? "" : "no ")),
                         constraints(0, 3));
                row++;