mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
open on create tag if no tags
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user