From f50cf44bab484bd2050f5cc870c792d5b49ae9a0 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Sat, 9 Mar 2019 12:07:34 +0100 Subject: [PATCH] Switch to active profile on intent update Better user experience. --- Passepartout-iOS/Scenes/ServiceViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Passepartout-iOS/Scenes/ServiceViewController.swift b/Passepartout-iOS/Scenes/ServiceViewController.swift index 137c112c..82905154 100644 --- a/Passepartout-iOS/Scenes/ServiceViewController.swift +++ b/Passepartout-iOS/Scenes/ServiceViewController.swift @@ -416,7 +416,7 @@ class ServiceViewController: UIViewController, TableModelHost { } @objc private func intentDidUpdateService() { - setProfile(profile) + setProfile(service.activeProfile) } @objc private func applicationDidBecomeActive() {