Fix scroll interruption
This commit is contained in:
parent
083b52c802
commit
32f557866a
|
@ -254,12 +254,12 @@ private extension TableViewController {
|
|||
.sink { [weak self] in
|
||||
guard let self = self else { return }
|
||||
|
||||
if !$0 {
|
||||
let refreshControlVisibile = self.refreshControl?.isRefreshing ?? false
|
||||
|
||||
if !$0, refreshControlVisibile {
|
||||
self.refreshControl?.endRefreshing()
|
||||
}
|
||||
|
||||
let refreshControlVisibile = self.refreshControl?.isRefreshing ?? false
|
||||
|
||||
self.tableView.tableFooterView = $0 && !refreshControlVisibile ? self.loadingTableFooterView : UIView()
|
||||
self.sizeTableHeaderFooterViews()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue