From 4ccda302b13553e9c289fcf0bc296f2f56fa9699 Mon Sep 17 00:00:00 2001 From: massimiliano Date: Fri, 23 Nov 2018 18:20:40 +0100 Subject: [PATCH] corrected triggersync --- .../github/dfa/diaspora_android/web/BrowserFragment.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/github/dfa/diaspora_android/web/BrowserFragment.java b/app/src/main/java/com/github/dfa/diaspora_android/web/BrowserFragment.java index 32a1e83a..d28716d4 100644 --- a/app/src/main/java/com/github/dfa/diaspora_android/web/BrowserFragment.java +++ b/app/src/main/java/com/github/dfa/diaspora_android/web/BrowserFragment.java @@ -94,9 +94,9 @@ public class BrowserFragment extends ThemedFragment { this.setRetainInstance(true); //pull to refresh - swipe = view.findViewById(R.id.swipe); - swipe.setOnRefreshListener(() -> reloadUrl()); - swipe.setDistanceToTriggerSync(20000); + swipe = view.findViewById(R.id.swipe); + swipe.setOnRefreshListener(() -> reloadUrl()); + swipe.setDistanceToTriggerSync(2000); } @Override