      no_recents->setStyleSheet(R"(font-size: 50px; color: #9c9c9c)");
      recent_layout->addWidget(no_recents);
    }
  
    recent_layout->addStretch();
    repaint();
  }
  
  void MapPanel::navigateTo(const QJsonObject &place) {
    QJsonDocument doc(place);
 
</s> remove void MapPanel::navigateTo(const QJsonObject &place) {
 </s> add void MapSettings::navigateTo(const QJsonObject &place) { </s> remove     setVisible(dest.has_value());
 </s> add     emit requestVisible(dest.has_value());
  // add home and work if missing
  if (!has_home) {
    auto widget = new DestinationWidget(this);
    widget->unset(NAV_FAVORITE_LABEL_HOME);
    destinations_layout->insertWidget(0, widget);
  }
  if (!has_work) {
    auto widget = new DestinationWidget(this);
    widget->unset(NAV_FAVORITE_LABEL_WORK);
    // TODO: refactor to remove this hack
    int index = !has_home || (current_destination && current_destination->isFavorite() && current_destination->label() == NAV_FAVORITE_LABEL_HOME) ? 0 : 1;
    destinations_layout->insertWidget(index, widget);
  }

  destinations_layout->addStretch();
      no_recents->setStyleSheet(R"(font-size: 50px; color: #9c9c9c)");
      recent_layout->addWidget(no_recents);
    }
  
  // add home and work if missing
  if (!has_home) {
    auto widget = new DestinationWidget(this);
    widget->unset(NAV_FAVORITE_LABEL_HOME);
    destinations_layout->insertWidget(0, widget);
  }
  if (!has_work) {
    auto widget = new DestinationWidget(this);
    widget->unset(NAV_FAVORITE_LABEL_WORK);
    // TODO: refactor to remove this hack
    int index = !has_home || (current_destination && current_destination->isFavorite() && current_destination->label() == NAV_FAVORITE_LABEL_HOME) ? 0 : 1;
    destinations_layout->insertWidget(index, widget);
  }

  destinations_layout->addStretch();
    repaint();
  }
  
  void MapPanel::navigateTo(const QJsonObject &place) {
    QJsonDocument doc(place);
keep keep keep keep replace keep keep keep keep keep
 UI: improved nav destination entry (#28476) 
selfdrive/ui/qt/maps/map_settings.cc