  
  void SshControl::refresh() {
    QString param = QString::fromStdString(Params().get("GithubSshKeys"));
    if (param.length()) {
      username_label.setText(QString::fromStdString(Params().get("GithubUsername")));
      btn.setText("REMOVE");
    } else {
      username_label.setText("");
      btn.setText("ADD");
    }
 
</s> remove   QString param = QString::fromStdString(Params().get("GithubSshKeys"));
 </s> add   QString param = QString::fromStdString(params.get("GithubSshKeys")); </s> remove   QString IMEI = QString::fromStdString(Params().get("IMEI"));
  QString serial = QString::fromStdString(Params().get("HardwareSerial"));
 </s> add   Params params;
  QString IMEI = QString::fromStdString(params.get("IMEI"));
  QString serial = QString::fromStdString(params.get("HardwareSerial")); </s> remove       Params().remove("GithubUsername");
      Params().remove("GithubSshKeys");
 </s> add       params.remove("GithubUsername");
      params.remove("GithubSshKeys"); </s> remove TermsPage::TermsPage(QWidget *parent) : QFrame(parent){
 </s> add void TermsPage::showEvent(QShowEvent *event) {
  // late init, building QML widget takes 200ms
  if (layout()) {
    return;
  }

    username_label.setText(QString::fromStdString(params.get("GithubUsername")));
  
  void SshControl::refresh() {
    QString param = QString::fromStdString(Params().get("GithubSshKeys"));
    if (param.length()) {
    username_label.setText(QString::fromStdString(params.get("GithubUsername")));
      btn.setText("REMOVE");
    } else {
      username_label.setText("");
      btn.setText("ADD");
    }
keep keep keep keep replace keep keep keep keep keep
 UI: fast startup (#20781)

* faster startup

* faster

* cleanup

Co-authored-by: Comma Device <device@comma.ai> 
selfdrive/ui/qt/widgets/ssh_keys.cc