From f339985a9faa00a27d337a11ce2b48613456b56c Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Thu, 21 Mar 2024 11:27:59 +0100 Subject: [PATCH] Fixed a bug on the calculation of the "itemsCount" computed property for the FeedListViewModel view model in the Feed framework. --- .../Bundle/Sources/Logic/View Models/FeedListViewModel.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Frameworks/Feed/Bundle/Sources/Logic/View Models/FeedListViewModel.swift b/Frameworks/Feed/Bundle/Sources/Logic/View Models/FeedListViewModel.swift index 059a3fa..5fd5a99 100644 --- a/Frameworks/Feed/Bundle/Sources/Logic/View Models/FeedListViewModel.swift +++ b/Frameworks/Feed/Bundle/Sources/Logic/View Models/FeedListViewModel.swift @@ -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 {