Merge pull request #298 from James-Sangalli/fix-issuer-name

Fix issuer name
pull/300/head
James Sangalli 7 years ago committed by GitHub
commit fb191788f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Trust/Localization/en.lproj/Localizable.strings
  2. 2
      Trust/Localization/es.lproj/Localizable.strings
  3. 8
      Trust/Tokens/Views/TicketsViewControllerHeader.swift

@ -268,7 +268,7 @@
"Balance" = "Balance";
"confirmSignMessage" = "Confirm signing this message:";
"blockchain.ethereum" = "Ethereum Blockchain";
"ticket.issuer" = "Shengkai";
"ticket.issuer" = "Shankai";
"touch.id" = "Touch ID";
"face.id" = "Face ID";
"undefined.error" = "Undefined error";

@ -268,7 +268,7 @@
"Balance" = "Balance";
"confirmSignMessage" = "Confirm signing this message:";
"blockchain.ethereum" = "Ethereum Blockchain";
"ticket.issuer" = "Shengkai";
"ticket.issuer" = "Shankai";
"touch.id" = "Touch ID";
"face.id" = "Face ID";
"undefined.error" = "Undefined error";

@ -59,8 +59,12 @@ class TicketsViewControllerHeader: UIView {
issuerLabel.textColor = viewModel.subtitleColor
issuerLabel.font = viewModel.subtitleFont
issuerLabel.text = viewModel.issuer
let issuer = viewModel.issuer
if issuer.isEmpty {
issuerLabel.text = ""
} else {
issuerLabel.text = issuer
}
separator.textColor = viewModel.subtitleColor
separator.font = viewModel.subtitleFont
separator.text = viewModel.issuerSeparator

Loading…
Cancel
Save