Merge branch 'master' into generateUniversalLink

pull/102/head
James Sangalli 7 years ago committed by GitHub
commit fc31848589
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      Trust/Transfer/ViewControllers/SendViewController.swift

@ -317,7 +317,13 @@ class SendViewController: FormViewController {
//We use this section update to prevent update of the all section including cells. //We use this section update to prevent update of the all section including cells.
UIView.setAnimationsEnabled(false) UIView.setAnimationsEnabled(false)
tableView.beginUpdates() tableView.beginUpdates()
if let containerView = tableView.footerView(forSection: 1) { let footerSectionIndex: Int
if viewModel.isStormBird {
footerSectionIndex = 1
} else {
footerSectionIndex = 0
}
if let containerView = tableView.footerView(forSection: footerSectionIndex) {
containerView.textLabel!.text = valueOfPairRepresantetion() containerView.textLabel!.text = valueOfPairRepresantetion()
containerView.sizeToFit() containerView.sizeToFit()
} }

Loading…
Cancel
Save