Skip to content

Commit

Permalink
renamed entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
ERussel committed Dec 22, 2024
1 parent 747713b commit a36f2ee
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 18 deletions.
15 changes: 2 additions & 13 deletions novawallet/Modules/AssetList/View/AssetListCardCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
2 changes: 1 addition & 1 deletion novawallet/Modules/PayCard/PayCardInteractor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ extension PayCardInteractor: PayCardHookDelegate {
}

func didReceivePendingCardOpen() {
if let cardOpenTimestamp = settingsManager.novaCardOpenTimestamp {
if settingsManager.novaCardOpenTimestamp != nil {
checkPendingTimeout()
} else {
processIssueInit()
Expand Down
3 changes: 1 addition & 2 deletions novawallet/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -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.";
Expand Down
3 changes: 1 addition & 2 deletions novawallet/ru.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -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Это окно закроется автоматически.";
Expand Down

0 comments on commit a36f2ee

Please sign in to comment.