diff --git a/novawallet/Modules/AssetList/View/AssetListCardCell.swift b/novawallet/Modules/AssetList/View/AssetListCardCell.swift index a029734b4..9cdf1e361 100644 --- a/novawallet/Modules/AssetList/View/AssetListCardCell.swift +++ b/novawallet/Modules/AssetList/View/AssetListCardCell.swift @@ -48,24 +48,13 @@ final class AssetListCardView: ControlView< private func setupLocalization() { let mainTitleString = NSAttributedString( - string: R.string.localizable.commonPayAnywhere() + " ", + string: R.string.localizable.commonManageDebitCard(preferredLanguages: locale.rLanguages), attributes: [ .font: UIFont.regularBody, .foregroundColor: R.color.colorTextPrimary()! ] ) - let secondaryTitle = NSAttributedString( - string: R.string.localizable.commonNovaCard(), - attributes: [ - .font: UIFont.regularBody, - .foregroundColor: R.color.colorTextSecondary()! - ] - ) - - let title = NSMutableAttributedString(attributedString: mainTitleString) - title.append(secondaryTitle) - - titleLabel.attributedText = title + titleLabel.attributedText = mainTitleString } } diff --git a/novawallet/Modules/PayCard/PayCardInteractor.swift b/novawallet/Modules/PayCard/PayCardInteractor.swift index c584b8cd2..58170fa63 100644 --- a/novawallet/Modules/PayCard/PayCardInteractor.swift +++ b/novawallet/Modules/PayCard/PayCardInteractor.swift @@ -145,7 +145,7 @@ extension PayCardInteractor: PayCardHookDelegate { } func didReceivePendingCardOpen() { - if let cardOpenTimestamp = settingsManager.novaCardOpenTimestamp { + if settingsManager.novaCardOpenTimestamp != nil { checkPendingTimeout() } else { processIssueInit() diff --git a/novawallet/en.lproj/Localizable.strings b/novawallet/en.lproj/Localizable.strings index 2b2d86c68..9ca6c62ea 100644 --- a/novawallet/en.lproj/Localizable.strings +++ b/novawallet/en.lproj/Localizable.strings @@ -1788,8 +1788,7 @@ "swap.route.details.subtitle" = "The way that your token will take through different networks to get the desired token."; "common.not.enough.to.pay.fee.message" = "You don\'t have enough balance to pay network fee of %@. Current balance is %@"; "swap.delivery.fee.error.message" = "Due to crosschain restrictions you should have at least %@ after operation"; -"common.pay.anywhere" = "Pay anywhere"; -"common.nova.card" = "Nova Card"; +"common.manage.debit.card" = "Manage Debit Card"; "common.estimated.timer" = "Estimated ~%@"; "card.open.pending.sheet.title" = "Your card is being issued!"; "card.open.pending.sheet.message" = "It can take up to %@.\nThis window will be closed automatically."; diff --git a/novawallet/ru.lproj/Localizable.strings b/novawallet/ru.lproj/Localizable.strings index 02bda13ec..5deb82190 100644 --- a/novawallet/ru.lproj/Localizable.strings +++ b/novawallet/ru.lproj/Localizable.strings @@ -1791,8 +1791,7 @@ "common.fee.amount.prefixed" = "Комиссия: %@"; "common.not.enough.to.pay.fee.message" = "У вас недостаточно средств для оплаты сетевой комиссии в размере %@. Текущий баланс: %@"; "swap.delivery.fee.error.message" = "Из-за ограничений межсетевого взаимодействия у вас должно остаться как минимум %@ после операции"; -"common.pay.anywhere" = "Платите везде"; -"common.nova.card" = "Карта Nova"; +"common.manage.debit.card" = "Управление Дебетовой Картой"; "common.estimated.timer" = "Ожидаемое ~%@"; "card.open.pending.sheet.title" = "Ваша карта выпускается!"; "card.open.pending.sheet.message" = "Это может занять до %@.\nЭто окно закроется автоматически.";