From b471da8975fde6a3bd7cacebe1b002d4eb5762d5 Mon Sep 17 00:00:00 2001 From: DevTekVE Date: Fri, 17 May 2024 16:41:38 +0000 Subject: [PATCH] Config Backup: Remove sponsor check for restore --- .../ui/qt/offroad/sunnypilot/sunnylink_settings.cc | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/selfdrive/ui/qt/offroad/sunnypilot/sunnylink_settings.cc b/selfdrive/ui/qt/offroad/sunnypilot/sunnylink_settings.cc index e765792b4d..6c55bd1655 100644 --- a/selfdrive/ui/qt/offroad/sunnypilot/sunnylink_settings.cc +++ b/selfdrive/ui/qt/offroad/sunnypilot/sunnylink_settings.cc @@ -107,16 +107,9 @@ SunnylinkPanel::SunnylinkPanel(QWidget* parent) : QFrame(parent) { connect(restoreSettings, &QPushButton::clicked, [=]() { is_restore = true; backup_settings->started(); - if (uiState()->isSunnylinkSponsor()) { - if (ConfirmationDialog::confirm(tr("Are you sure you want to restore the last backed up sunnypilot settings?"), tr("Restore"), this)) { - backup_settings->getParams(); - } else { - backup_settings->finished(); - } + if (ConfirmationDialog::confirm(tr("Are you sure you want to restore the last backed up sunnypilot settings?"), tr("Restore"), this)) { + backup_settings->getParams(); } else { - if (ConfirmationDialog::confirm(tr("Early alpha access only. Become a sponsor to get early access to sunnylink features."), tr("Become a Sponsor"), this)) { - status_popup->exec(); - } backup_settings->finished(); } is_restore = false;