From c17205a5924e9cdbe253acf290c9826b4a2cdb58 Mon Sep 17 00:00:00 2001 From: ptyuan Date: Sat, 9 Feb 2019 13:54:24 +0800 Subject: [PATCH] fix issue #46 --- Examples/Examples/GithubPaginatedSearch.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Examples/Examples/GithubPaginatedSearch.swift b/Examples/Examples/GithubPaginatedSearch.swift index 556b5d3..5dc33a6 100644 --- a/Examples/Examples/GithubPaginatedSearch.swift +++ b/Examples/Examples/GithubPaginatedSearch.swift @@ -116,7 +116,9 @@ class GithubPaginatedSearchViewController: UIViewController { return Signal.empty() } - return searchResults.rx.nearBottom.map { _ in Event.scrollingNearBottom } + return searchResults.rx.nearBottom + .skip(1) + .map { _ in Event.scrollingNearBottom } } }