From bcb91bfacc16cd6fa8c8b9a37c1738bc0ed4fbe8 Mon Sep 17 00:00:00 2001 From: "Stefan B\\u+00F6ther" Date: Mon, 8 Jul 2019 19:58:24 +0200 Subject: [PATCH] Renaming of UIWindow.window.alert --- Source/DBAlertController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/DBAlertController.swift b/Source/DBAlertController.swift index 7170522..a042dad 100644 --- a/Source/DBAlertController.swift +++ b/Source/DBAlertController.swift @@ -15,7 +15,7 @@ open class DBAlertController: UIAlertController { let window = UIWindow(frame: UIScreen.main.bounds) window.rootViewController = DBClearViewController() window.backgroundColor = UIColor.clear - window.windowLevel = UIWindowLevelAlert + window.windowLevel = UIWindow.Level.alert return window }()