remove context menu

This commit is contained in:
Diogo
2024-12-14 21:14:53 +00:00
parent 77a2815c3a
commit b66dfc8617
@@ -718,33 +718,6 @@ struct ChatTagsView: View {
.onTapGesture {
setSelectedTag(tag)
}
.contextMenu {
Button {
sheet = SomeSheet(
content: {
AnyView(
NavigationView {
ChatListTagEditor(editMode: true, emoji: emoji, name: text)
}
)
},
id: "list edit sheet"
)
} label: {
Label(
NSLocalizedString("Edit", comment: "tag action"),
systemImage: "pencil"
)
}
Button(role: .destructive) {
print("Delete \(text)")
} label: {
Label(
NSLocalizedString("Delete", comment: "tag action"),
systemImage: "trash"
)
}
}
}
}
}