From 3f16c6c927650c225bd163c1bc0aa96bbc5c12b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20B=C3=BCnz?= Date: Fri, 2 Aug 2024 15:31:29 +0200 Subject: [PATCH] fix typo (#3268) --- Sources/ComposableArchitecture/SwiftUI/Alert.swift | 4 ++-- .../ComposableArchitecture/SwiftUI/ConfirmationDialog.swift | 2 +- .../SwiftUI/Deprecated/ActionSheet.swift | 4 ++-- .../SwiftUI/Deprecated/LegacyAlert.swift | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Sources/ComposableArchitecture/SwiftUI/Alert.swift b/Sources/ComposableArchitecture/SwiftUI/Alert.swift index 3bdced3227ae..f7886ef43e07 100644 --- a/Sources/ComposableArchitecture/SwiftUI/Alert.swift +++ b/Sources/ComposableArchitecture/SwiftUI/Alert.swift @@ -2,7 +2,7 @@ import SwiftUI @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) extension View { - /// Displays an alert when then store's state becomes non-`nil`, and dismisses it when it becomes + /// Displays an alert when the store's state becomes non-`nil`, and dismisses it when it becomes /// `nil`. /// /// - Parameters: @@ -14,7 +14,7 @@ extension View { self._alert(store: store, state: { $0 }, action: { $0 }) } - /// Displays an alert when then store's state becomes non-`nil`, and dismisses it when it becomes + /// Displays an alert when the store's state becomes non-`nil`, and dismisses it when it becomes /// `nil`. /// /// - Parameters: diff --git a/Sources/ComposableArchitecture/SwiftUI/ConfirmationDialog.swift b/Sources/ComposableArchitecture/SwiftUI/ConfirmationDialog.swift index ccb700a96a1d..cb1515cf5566 100644 --- a/Sources/ComposableArchitecture/SwiftUI/ConfirmationDialog.swift +++ b/Sources/ComposableArchitecture/SwiftUI/ConfirmationDialog.swift @@ -2,7 +2,7 @@ import SwiftUI @available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) extension View { - /// Displays a dialog when then store's state becomes non-`nil`, and dismisses it when it becomes + /// Displays a dialog when the store's state becomes non-`nil`, and dismisses it when it becomes /// `nil`. /// /// - Parameters: diff --git a/Sources/ComposableArchitecture/SwiftUI/Deprecated/ActionSheet.swift b/Sources/ComposableArchitecture/SwiftUI/Deprecated/ActionSheet.swift index 916107d6939f..5d92825064ca 100644 --- a/Sources/ComposableArchitecture/SwiftUI/Deprecated/ActionSheet.swift +++ b/Sources/ComposableArchitecture/SwiftUI/Deprecated/ActionSheet.swift @@ -1,7 +1,7 @@ import SwiftUI extension View { - /// Displays an action sheet when then store's state becomes non-`nil`, and dismisses it when it + /// Displays an action sheet when the store's state becomes non-`nil`, and dismisses it when it /// becomes `nil`. /// /// - Parameters: @@ -37,7 +37,7 @@ extension View { self.actionSheet(store: store, state: { $0 }, action: { $0 }) } - /// Displays an alert when then store's state becomes non-`nil`, and dismisses it when it becomes + /// Displays an alert when the store's state becomes non-`nil`, and dismisses it when it becomes /// `nil`. /// /// - Parameters: diff --git a/Sources/ComposableArchitecture/SwiftUI/Deprecated/LegacyAlert.swift b/Sources/ComposableArchitecture/SwiftUI/Deprecated/LegacyAlert.swift index 441ad2b7a650..0df85e56224f 100644 --- a/Sources/ComposableArchitecture/SwiftUI/Deprecated/LegacyAlert.swift +++ b/Sources/ComposableArchitecture/SwiftUI/Deprecated/LegacyAlert.swift @@ -1,7 +1,7 @@ import SwiftUI extension View { - /// Displays a legacy alert when then store's state becomes non-`nil`, and dismisses it when it + /// Displays a legacy alert when the store's state becomes non-`nil`, and dismisses it when it /// becomes `nil`. /// /// - Parameters: @@ -21,7 +21,7 @@ extension View { self.legacyAlert(store: store, state: { $0 }, action: { $0 }) } - /// Displays a legacy alert when then store's state becomes non-`nil`, and dismisses it when it + /// Displays a legacy alert when the store's state becomes non-`nil`, and dismisses it when it /// becomes `nil`. /// /// - Parameters: