feat: implement MSA client id override

Closes #11
This commit is contained in:
Sefa Eyeoglu
2022-02-12 20:20:51 +01:00
parent bb02226870
commit 0854e83ce4
4 changed files with 14 additions and 2 deletions

View File

@ -73,7 +73,7 @@ AccountListPage::AccountListPage(QWidget *parent)
updateButtonStates();
// Xbox authentication won't work without a client identifier, so disable the button if it is missing
ui->actionAddMicrosoft->setVisible(BuildConfig.MSA_CLIENT_ID.size() != 0);
ui->actionAddMicrosoft->setVisible(!APPLICATION->getMSAClientID().isEmpty());
}
AccountListPage::~AccountListPage()