mobile-ios/CovidSafe/UploadDataErrorViewController.swift
2021-02-02 11:04:43 +11:00

21 lines
583 B
Swift

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