Implemented UpdateConfiguration intent

Signed-off-by: Alessio Nossa <alessio.nossa@gmail.com>
This commit is contained in:
Alessio Nossa
2022-02-01 10:16:38 +01:00
parent ceabb4ea34
commit fe3f2d089b
6 changed files with 358 additions and 1 deletions
@@ -11,7 +11,7 @@ class IntentHandler: INExtension {
}
override func handler(for intent: INIntent) -> Any {
guard intent is GetPeersIntent else {
guard intent is GetPeersIntent || intent is UpdateConfigurationIntent else {
fatalError("Unhandled intent type: \(intent)")
}