Don't touch refresh if can communicate w/ original
This commit is contained in:
parent
9e933d68c5
commit
013eaaabd4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue