Skip to content

Commit 5e05332

Browse files
Update AppUpgradeAlert.swift
1 parent 3722e14 commit 5e05332

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/AppUpgrade/AppUpgradeAlert.swift

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public struct AppUpgradeAlert {
1414

1515
let updateButton = UIAlertAction(title: updateButtonTitle, style: .default, handler: { (action) -> Void in
1616
onUserUpdate(appId: appId)
17+
UIApplication.shared.keyWindow?.rootViewController?.present(alert, animated: true)
1718
})
1819

1920
alert.addAction(updateButton)

0 commit comments

Comments
 (0)