feat: add EULA and policy on IAP page (#2189)

This commit is contained in:
vkamn 2026-02-05 15:23:06 +03:00 • committed by GitHub
parent 5dcc64e5e5
commit 7960d8015d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 98 additions and 2 deletions

View file

@ -112,7 +112,11 @@ QVariant ApiServicesModel::data(const QModelIndex &index, int role) const
if (price == "free") {
return tr("Free");
}
#if defined(Q_OS_IOS) || defined(MACOS_NE)
return tr("%1 $").arg(price);
#else
return tr("%1 $/month").arg(price);
#endif
}
case EndDateRole: {
return QDateTime::fromString(apiServiceData.subscription.endDate, Qt::ISODate).toLocalTime().toString("d MMM yyyy");