diff --git a/Passepartout-iOS/Scenes/ConfigurationViewController.swift b/Passepartout-iOS/Scenes/ConfigurationViewController.swift index b72253f3..29f221a1 100644 --- a/Passepartout-iOS/Scenes/ConfigurationViewController.swift +++ b/Passepartout-iOS/Scenes/ConfigurationViewController.swift @@ -128,9 +128,9 @@ class ConfigurationViewController: UIViewController, TableModelHost { log.error("Could not parse original configuration: \(e)") return } + configuration = parsedFile.configuration.sessionConfiguration.builder() + itemRefresh.isEnabled = !configuration.canCommunicate(with: initialConfiguration) initialConfiguration = parsedFile.configuration.sessionConfiguration - configuration = initialConfiguration.builder() - itemRefresh.isEnabled = true // allow for manual reconnection tableView.reloadData() delegate?.configuration(didUpdate: initialConfiguration)