Commit f112f894ac
Verified · cmc
Layout: unified · split
DomainDig/DomainDigIntents.swift +1
| @@ -28,6 +28,7 @@ struct InspectDomainIntent: AppIntent { | |||
| 28 | Summary("Inspect \(\.$domain)") | 28 | Summary("Inspect \(\.$domain)") |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | @MainActor | ||
| 31 | func perform() async throws -> some IntentResult & ReturnsValue<String> & ProvidesDialog { | 32 | func perform() async throws -> some IntentResult & ReturnsValue<String> & ProvidesDialog { |
| 32 | let requested = domain.trimmingCharacters(in: .whitespacesAndNewlines) | 33 | let requested = domain.trimmingCharacters(in: .whitespacesAndNewlines) |
| 33 | guard !requested.isEmpty else { | 34 | guard !requested.isEmpty else { |