mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-12 05:07:56 +00:00
reset search text if active filter is changed
This commit is contained in:
1 parent
c8772cb612
commit
a4eb7d06fe
1 file changed
+3
@@ -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