From 5fc3fee12d67d301a6c2bce216548b5b0da538c4 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sun, 28 Apr 2019 06:46:50 -0500 Subject: [PATCH] Rename a couple functions that needed clarification --- iOS/NavigationStateController.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iOS/NavigationStateController.swift b/iOS/NavigationStateController.swift index 5bbefda59..6b231be88 100644 --- a/iOS/NavigationStateController.swift +++ b/iOS/NavigationStateController.swift @@ -207,7 +207,7 @@ class NavigationStateController { return } - let shouldFetchAndMergeArticles = representedObjectsContainsAnyFeed(feeds) || representedObjectsContainsAnyPseudoFeed() + let shouldFetchAndMergeArticles = timelineFetcherContainsAnyFeed(feeds) || timelineFetcherContainsAnyPseudoFeed() if shouldFetchAndMergeArticles { queueFetchAndMergeArticles() } @@ -603,14 +603,14 @@ private extension NavigationStateController { } - func representedObjectsContainsAnyPseudoFeed() -> Bool { + func timelineFetcherContainsAnyPseudoFeed() -> Bool { if timelineFetcher is PseudoFeed { return true } return false } - func representedObjectsContainsAnyFeed(_ feeds: Set) -> Bool { + func timelineFetcherContainsAnyFeed(_ feeds: Set) -> Bool { // Return true if there’s a match or if a folder contains (recursively) one of feeds