mobile-ios/CovidSafe/UploadDataErrorViewController.swift

22 lines
583 B
Swift
Raw Permalink Normal View History

2020-05-08 07:49:14 +00:00
// Copyright © 2020 Australian Government All rights reserved.
import UIKit
final class UploadDataErrorViewController: UIViewController {
2021-02-02 00:04:43 +00:00
var uploadErrorMessage: String = ""
@IBOutlet weak var errorLabel: UILabel!
override func viewDidLoad() {
super.viewDidLoad()
errorLabel.text = String.localizedStringWithFormat("dialog_error_uploading_message".localizedString(), uploadErrorMessage)
}
2020-05-08 07:49:14 +00:00
@IBAction func onBackTapped(_ sender: UIButton) {
self.dismiss(animated: true, completion: nil)
}
}