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:
Javier Cicchelli 2024-03-21 11:27:59 +01:00
parent d1f3ffacc0
commit f339985a9f

View File

@ -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 {