summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--DomainDig/DomainDigIntents.swift1
1 files changed, 1 insertions, 0 deletions
diff --git a/DomainDig/DomainDigIntents.swift b/DomainDig/DomainDigIntents.swift
index fb2e015..44a1dc4 100644
--- a/DomainDig/DomainDigIntents.swift
+++ b/DomainDig/DomainDigIntents.swift
@@ -28,6 +28,7 @@ struct InspectDomainIntent: AppIntent {
Summary("Inspect \(\.$domain)")
}
+ @MainActor
func perform() async throws -> some IntentResult & ReturnsValue<String> & ProvidesDialog {
let requested = domain.trimmingCharacters(in: .whitespacesAndNewlines)
guard !requested.isEmpty else {