Remove unused dialog and finding helpers

This commit is contained in:
Ian Gulliver
2026-10-21 14:06:05 -07:00
parent 5c50fa857f
commit 67990178c4
2 changed files with 0 additions and 8 deletions
-4
View File
@@ -100,10 +100,6 @@ final class Overlays {
return await showModal(content, [ModalButton(label: "Cancel", value: "cancel"), ModalButton(label: action, value: "ok", primary: true, danger: danger)], anchor: anchor, inPane: inPane) == "ok"
}
func showChoice(_ content: some View, _ choices: [ModalButton], anchor: CGRect? = nil) async -> String {
await showModal(content, [ModalButton(label: "Cancel", value: "cancel")] + choices, anchor: anchor)
}
func answerModal(_ value: String) {
let m = modal
modal = nil