diff --git a/services/net/NetworkService.cpp b/services/net/NetworkService.cpp index 45d2522..7fba94c 100644 --- a/services/net/NetworkService.cpp +++ b/services/net/NetworkService.cpp @@ -561,6 +561,9 @@ void NetworkService::syncBankProfilesFromServer() { } const QJsonObject profileData = profileResult.toObject(); + qDebug() << "[syncBankProfilesFromServer] profileData keys:" << profileData.keys() + << "bank_profiles isArray:" << profileData["bank_profiles"].isArray() + << "bank_profiles size:" << profileData["bank_profiles"].toArray().size(); const QJsonArray bankProfiles = profileData["bank_profiles"].toArray(); // Маппинг apiId → локальный device_id @@ -606,7 +609,7 @@ void NetworkService::syncBankProfilesFromServer() { newApp.name = configSettings.value(bankName + "/name", bankName).toString(); newApp.package = configSettings.value(bankName + "/android_package_name").toString(); newApp.status = (bpState == "disabled") ? "off" : "active"; - newApp.install = false; + newApp.install = true; newApp.pinCodeChecked = false; newApp.bankProfileId = bpId; newApp.fullName = fullName;