mirror of
https://github.com/M66B/NetGuard.git
synced 2025-02-24 15:21:19 +00:00
Clear package cache on pull down refresh
This commit is contained in:
parent
cd14008993
commit
3a56c6d216
1 changed files with 1 additions and 0 deletions
|
@ -259,6 +259,7 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
|
|||
swipeRefresh.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
|
||||
@Override
|
||||
public void onRefresh() {
|
||||
Rule.clearCache(ActivityMain.this);
|
||||
ServiceSinkhole.reload("pull", ActivityMain.this);
|
||||
updateApplicationList(null);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue