mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-04-24 07:46:07 +00:00
Add missing null check in onBackPressed for SearchView
This commit is contained in:
parent
658946ff70
commit
e099e2cacd
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ public class MainActivity extends AegisActivity implements EntryListView.Listene
|
|||
|
||||
@Override
|
||||
public void onBackPressed() {
|
||||
if (!_searchView.isIconified() || _searchSubmitted ) {
|
||||
if ((_searchView != null && !_searchView.isIconified()) || _searchSubmitted ) {
|
||||
_searchSubmitted = false;
|
||||
_entryListView.setSearchFilter(null);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue