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 9077988 commit edd7481Copy full SHA for edd7481
Sources/ComposableArchitecture/UIKit/AlertStateUIKit.swift
@@ -74,7 +74,7 @@
74
@available(macOS, unavailable)
75
@available(watchOS, unavailable)
76
extension UIAlertAction.Style {
77
- init<Action>(_ role: AlertState<Action>.ButtonRole) {
+ init<Action>(_ role: ButtonState<Action>.Role) {
78
switch role {
79
case .cancel:
80
self = .cancel
@@ -88,7 +88,7 @@
88
89
extension UIAlertAction {
90
convenience init<Action>(
91
- _ button: AlertState<Action>.Button,
+ _ button: ButtonState<Action>,
92
action: @escaping (Action) -> Void
93
) {
94
self.init(
0 commit comments