open on create tag if no tags

This commit is contained in:
Diogo
2024-12-12 22:52:56 +00:00
parent 4122b4cb1d
commit ec5fe341c6
2 changed files with 5 additions and 2 deletions
@@ -343,7 +343,11 @@ struct ChatListNavLink: View {
content: {
AnyView(
NavigationView {
ChatListTag(chat: chat)
if chatTagsModel.tags.isEmpty {
CreateChatListTag(chat: chat)
} else {
ChatListTag(chat: chat)
}
}
)
},
@@ -767,7 +767,6 @@ struct ChatTagsView: View {
}
}
}
} label: {
Image(systemName: "list.bullet")
.foregroundColor(color)