Skip to content

Commit

Permalink
chore: 修改判断
Browse files Browse the repository at this point in the history
  • Loading branch information
linhay committed Nov 24, 2020
1 parent 2f68356 commit 8448150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ open class EmptyPageCollectionViewManager: EmptyPageScrollViewManager {
return (0..<view.numberOfSections).contains(where: { view.numberOfItems(inSection: $0) > 0 }) == false
}

return false
return true
}

}
2 changes: 1 addition & 1 deletion Sources/Core/managers/EmptyPageManager+UITableView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ open class EmptyPageTableViewManager: EmptyPageScrollViewManager {
return (0..<view.numberOfSections).contains(where: { view.numberOfRows(inSection: $0) > 0 }) == false
}

return false
return true
}

}

0 comments on commit 8448150

Please sign in to comment.