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 4449bc2 commit 37c6312Copy full SHA for 37c6312
Sources/ComposableArchitecture/SwiftUI/TextState.swift
@@ -79,7 +79,7 @@ public struct TextState: Equatable, Hashable {
79
return lhs == rhs
80
81
case let (.localized(key, tableName, bundle, comment), .verbatim(string)),
82
- let (.verbatim(string), .localized(key, tableName, bundle, comment)):
+ let (.verbatim(string), .localized(key, tableName, bundle, comment)):
83
return key.formatted(tableName: tableName, bundle: bundle, comment: comment) == string
84
85
// NB: We do not attempt to equate concatenated cases.
0 commit comments