feat: renewal new status logic (#2409)

* fix: renewal add status logic

* fix: wakeup activity resumed android
This commit is contained in:
NickVs2015
2026-03-25 14:48:32 +03:00
committed by GitHub
parent 9a0222aee3
commit bf3d11e5c4
12 changed files with 61 additions and 56 deletions

View File

@@ -153,8 +153,8 @@ void CoreController::initControllers()
m_apiConfigsController.reset(new ApiConfigsController(m_serversModel, m_apiServicesModel, m_settings));
m_engine->rootContext()->setContextProperty("ApiConfigsController", m_apiConfigsController.get());
connect(m_apiConfigsController.get(), &ApiConfigsController::subscriptionExpiredOnServer,
m_apiAccountInfoModel.get(), &ApiAccountInfoModel::setSubscriptionExpiredByServer);
connect(m_apiConfigsController.get(), &ApiConfigsController::subscriptionRefreshNeeded,
this, [this]() { m_apiSettingsController->getAccountInfo(false); });
m_apiNewsController.reset(new ApiNewsController(m_newsModel, m_settings, m_serversModel, this));
m_engine->rootContext()->setContextProperty("ApiNewsController", m_apiNewsController.get());