We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 923d507 commit 850e569Copy full SHA for 850e569
Sources/UIKitNavigation/Navigation/UIAlertController.swift
@@ -24,6 +24,9 @@
24
for button in state.buttons {
25
addAction(UIAlertAction(button, action: handler))
26
}
27
+ if state.buttons.isEmpty {
28
+ addAction(UIAlertAction(title: "OK", style: .cancel))
29
+ }
30
31
32
/// Creates and returns a view controller for displaying an action sheet using a data
@@ -57,6 +60,9 @@
57
60
58
61
59
62
63
64
65
66
67
68
0 commit comments