mirror of
https://github.com/AU-COVIDSafe/mobile-ios.git
synced 2025-01-19 01:06:35 +00:00
21 lines
559 B
Swift
21 lines
559 B
Swift
// Copyright © 2020 Australian Government All rights reserved.
|
|
|
|
import UIKit
|
|
|
|
class AlertController: UIAlertController {
|
|
var lastPresentingViewController: UIViewController?
|
|
var useCustomTransition: Bool = true
|
|
var feedbackSettings: FeedbackSettings?
|
|
|
|
override func viewWillAppear(_ animated: Bool) {
|
|
super.viewWillAppear(animated)
|
|
if let viewController = presentingViewController {
|
|
lastPresentingViewController = viewController
|
|
}
|
|
}
|
|
|
|
override func viewDidLoad() {
|
|
super.viewDidLoad()
|
|
view.tintColor = ADGTintColor
|
|
}
|
|
}
|