diff --git a/src/radar_screen.cpp b/src/radar_screen.cpp index c77d0fc..0765b6c 100644 --- a/src/radar_screen.cpp +++ b/src/radar_screen.cpp @@ -1349,15 +1349,20 @@ void runSearch(TFT_eSPI& tft, int16_t top) { auto redraw = [&]() { tft.fillScreen(TFT_BLACK); tft.setTextColor(TFT_GREEN, TFT_BLACK); - tft.setCursor(10, 14); - //tft.print("Search"); - - tft.fillRect(8, 30, Config::SCREEN_WIDTH - 16, 28, TFT_BLACK); +tft.fillRect(8, 30, Config::SCREEN_WIDTH - 16, 28, TFT_BLACK); tft.drawRect(8, 30, Config::SCREEN_WIDTH - 16, 28, TFT_GREEN); tft.setTextSize(2); - tft.setTextColor(TFT_GREEN, TFT_BLACK); tft.setCursor(14, 52); - tft.print(buf); + if (buf[0] == 0) { + tft.setTextColor(TFT_DARKGREY, TFT_BLACK); + tft.setTextSize(1); + tft.setCursor(14, 49); + tft.print("Flight number or hex code"); + tft.setTextSize(2); + } else { + tft.setTextColor(TFT_GREEN, TFT_BLACK); + tft.print(buf); + } tft.setTextSize(1); if (showingNotFound) {