Use | operator to concatenate multiline strings

This commit is contained in:
Danny Moesch 2019-01-20 12:15:54 +01:00 committed by Mingshen Sun
parent 2fdd3fd6ec
commit 08c91599b6
5 changed files with 6 additions and 6 deletions

View file

@ -357,7 +357,7 @@ class PasswordDetailTableViewController: UITableViewController, UIGestureRecogni
} catch {
Utils.alert(title: "Error".localize(), message: error.localizedDescription, controller: self, completion: nil)
}
SVProgressHUD.showSuccess(withStatus: "PasswordCopied".localize() + "\n" + "CounterUpdated".localize())
SVProgressHUD.showSuccess(withStatus: "PasswordCopied".localize() | "CounterUpdated".localize())
SVProgressHUD.dismiss(withDelay: 1)
}
}