Skip to content
Snippets Groups Projects
Commit 4843a17f authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Dismiss lookup on success

parent 618eae31
No related branches found
No related tags found
2 merge requests!112Restore contacts from backup,!102Release 1.0.0
......@@ -184,6 +184,7 @@ public let contactReducer = Reducer<ContactState, ContactAction, ContactEnvironm
case .lookup(.didLookup(let xxContact)):
state.xxContact = xxContact
state.lookup = nil
return .none
case .sendRequestTapped:
......
......@@ -145,6 +145,7 @@ final class ContactFeatureTests: XCTestCase {
store.send(.lookup(.didLookup(contact))) {
$0.xxContact = contact
$0.lookup = nil
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment