reset selection of tag filter on profile changes

This commit is contained in:
Diogo
2024-12-13 23:19:37 +00:00
parent 617dee46c4
commit b9b43c8260
@@ -836,6 +836,7 @@ struct ChatTagsView: View {
self.chatTagsModel.tags = chatTags.map {
.chatTag(emoji: $0.chatTagEmoji, text: $0.chatTagText, tagId: $0.chatTagId)
}
self.chatTagsModel.selectedTag = ChatTagsModel.defaultTag
}
} catch let error {
AlertManager.shared.showAlertMsg(title: "Error", message: "\(responseError(error))")