mirror of
https://github.com/M66B/NetGuard.git
synced 2025-02-26 16:13:01 +00:00
keep search while refreshing the list;
This commit is contained in:
parent
10634c0c05
commit
7b447bdacb
1 changed files with 2 additions and 1 deletions
|
@ -199,7 +199,8 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
|
||||||
@Override
|
@Override
|
||||||
public void onRefresh() {
|
public void onRefresh() {
|
||||||
SinkholeService.reload(null, "pull", ActivityMain.this);
|
SinkholeService.reload(null, "pull", ActivityMain.this);
|
||||||
updateApplicationList(null);
|
SearchView searchView = (SearchView) MenuItemCompat.getActionView(menuSearch);
|
||||||
|
updateApplicationList(menuSearch.isActionViewExpanded() ? searchView.getQuery().toString() : null);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue