Fixed a bug on the calculation of the "itemsCount" computed property for the FeedListViewModel view model in the Feed framework.
This commit is contained in:
parent
d1f3ffacc0
commit
f339985a9f
@ -47,8 +47,8 @@ extension FeedListViewController {
|
||||
// MARK: Computed
|
||||
var itemsCount: Int {
|
||||
isWordsShowing
|
||||
? items.count
|
||||
: items.count + 1
|
||||
? items.count + 1
|
||||
: items.count
|
||||
}
|
||||
|
||||
var isWordsShowing: Bool {
|
||||
|
Loading…
x
Reference in New Issue
Block a user