From c71d9eae4605a44243ed1f3bb790ec838afc4ed5 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Mon, 2 Jan 2023 11:55:19 +0800 Subject: [PATCH] Dont loadItems onAppear as controllerDidChangeContent already does this This prevents a double refresh when returning to the library view. --- apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift index 7e60c810a..81d30a8e4 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift @@ -39,9 +39,6 @@ import Views prefersListLayout: $prefersListLayout, viewModel: viewModel ) - .onAppear { - loadItems(isRefresh: true) - } .refreshable { loadItems(isRefresh: true) }