mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
tap unread filter deselects other filters
This commit is contained in:
@@ -369,6 +369,11 @@ struct ChatListView: View {
|
||||
.onChange(of: chatModel.currentUser?.userId) { _ in
|
||||
stopAudioPlayer()
|
||||
}
|
||||
.onChange(of: showUnreadAndFavorites) { show in
|
||||
if show {
|
||||
chatTagsModel.selectedTag = ChatTagsModel.defaultTag
|
||||
}
|
||||
}
|
||||
.onChange(of: scrollToSearchBar) { scrollToSearchBar in
|
||||
if scrollToSearchBar {
|
||||
Task { self.scrollToSearchBar = false }
|
||||
|
||||
Reference in New Issue
Block a user