1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-11-14 00:12:08 +01:00

corrected triggersync

This commit is contained in:
massimiliano 2018-11-23 18:20:40 +01:00
parent 0357e65e73
commit 4ccda302b1

View file

@ -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