Skip to content

Commit

Permalink
Fixed search reset when user navigation to chat or channel
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg-Pecheneg committed Mar 1, 2024
1 parent 441e6da commit dc9a98b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ extension ChatListViewModel {
}

stopSearching()
isSearchActive = false
router.chatTabNavPath.append(HomeChatNavigationDestination.chat(profile: profile,
conversationState: conversationState))
}
Expand Down Expand Up @@ -734,8 +733,8 @@ private extension ChatListViewModel {
}

func stopSearching() {
isSearchActive = false
searchText = ""
isSearchActive = false
}
}

Expand Down

0 comments on commit dc9a98b

Please sign in to comment.