diff --git a/client/ui/qml/Pages2/PageSettingsApiNativeConfigs.qml b/client/ui/qml/Pages2/PageSettingsApiNativeConfigs.qml index d2042a765..8fa85a339 100644 --- a/client/ui/qml/Pages2/PageSettingsApiNativeConfigs.qml +++ b/client/ui/qml/Pages2/PageSettingsApiNativeConfigs.qml @@ -58,8 +58,9 @@ PageType { Layout.topMargin: 6 text: countryName - descriptionText: isWorkerExpired ? qsTr("The configuration needs to be reissued") : "" - descriptionColor: AmneziaStyle.color.vibrantRed + descriptionText: isWorkerExpired ? qsTr("Download the update") : "" + hideDescription: false + descriptionColor: AmneziaStyle.color.mutedGray leftImageSource: "qrc:/countriesFlags/images/flagKit/" + countryImageCode + ".svg" rightImageSource: isIssued ? "qrc:/images/controls/more-vertical.svg" : "qrc:/images/controls/download.svg" diff --git a/client/ui/qml/Pages2/PageSettingsApiServerInfo.qml b/client/ui/qml/Pages2/PageSettingsApiServerInfo.qml index 48fcfa115..1e947bd24 100644 --- a/client/ui/qml/Pages2/PageSettingsApiServerInfo.qml +++ b/client/ui/qml/Pages2/PageSettingsApiServerInfo.qml @@ -187,7 +187,13 @@ PageType { iconPath: "qrc:/images/controls/alert-circle.svg" - visible: ApiAccountInfoModel.data("hasExpiredWorker") + visible: { + for (let i = 0; i < ApiCountryModel.count; ++i) { + if (ApiCountryModel.get(i).isWorkerExpired) + return true; + } + return false; + } } LabelWithButtonType {