UI: Rework YouTube broadcast setup flow

This commit is contained in:
derrod 2021-09-05 05:35:21 +02:00
commit ca3f244584
11 changed files with 271 additions and 142 deletions

View file

@ -1083,8 +1083,12 @@ void AutoConfig::SaveStreamSettings()
main->SetService(newService);
main->SaveService();
main->auth = streamPage->auth;
if (!!main->auth)
if (!!main->auth) {
main->auth->LoadUI();
main->SetBroadcastFlowEnabled(main->auth->broadcastFlow());
} else {
main->SetBroadcastFlowEnabled(false);
}
/* ---------------------------------- */
/* save stream settings */