mirror of
https://github.com/AU-COVIDSafe/mobile-ios.git
synced 2025-01-19 09:16:34 +00:00
22 lines
559 B
Swift
22 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
|
||
|
}
|
||
|
}
|