mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-28 12:04:11 +00:00
reset search text if active filter is changed
This commit is contained in:
@@ -622,6 +622,9 @@ struct ChatListSearchBar: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.onChange(of: chatTagsModel.activeFilter) { _ in
|
||||
searchText = ""
|
||||
}
|
||||
.alert(item: $alert) { a in
|
||||
planAndConnectAlert(a, dismiss: true, cleanup: { searchText = "" })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user