mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
remove context menu
This commit is contained in:
@@ -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"
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user