mirror of https://github.com/M66B/NetGuard.git
Pull to refresh: reload rules too
This commit is contained in:
parent
e4bc3f2191
commit
7fdc5f1b1f
|
@ -191,6 +191,7 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
|
||||||
swipeRefresh.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
|
swipeRefresh.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onRefresh() {
|
public void onRefresh() {
|
||||||
|
SinkholeService.reload(null, "pull", ActivityMain.this);
|
||||||
updateApplicationList();
|
updateApplicationList();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue