mirror of https://github.com/M66B/NetGuard.git
Merge pull request #234 from rgarza/master
keep search while refreshing the list;
This commit is contained in:
commit
75f048e266
|
@ -199,7 +199,8 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
|
|||
@Override
|
||||
public void onRefresh() {
|
||||
SinkholeService.reload(null, "pull", ActivityMain.this);
|
||||
updateApplicationList(null);
|
||||
SearchView searchView = (SearchView) MenuItemCompat.getActionView(menuSearch);
|
||||
updateApplicationList(menuSearch.isActionViewExpanded() ? searchView.getQuery().toString() : null);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue