From 701d6a6be1cc049e666ed33c3fe5eef49eba5dd8 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Tue, 26 Dec 2023 10:01:01 +0800 Subject: [PATCH] Wording on bottom button --- .../Sources/App/Views/Home/HomeFeedViewIOS.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift index 1c98bab9a..a140dcf9a 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift @@ -1047,10 +1047,10 @@ struct BottomView: View { await viewModel.loadMore(dataService: dataService) } }, label: { - if let totalCount = viewModel.fetcher.totalCount { - Text("Fetch more.") + if let totalCount = viewModel.fetcher.totalCount, viewModel.fetcher.items.count >= totalCount { + Text("Check for more") } else { - Text("Refresh") + Text("Fetch more") } }) .foregroundColor(Color.blue)