mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-02 04:32:02 +00:00
Fix crash with search item missing
This commit is contained in:
parent
2f7cc1cbe9
commit
f54466da65
@ -542,7 +542,10 @@ public class ContactsController extends BaseController implements SearchView.OnQ
|
||||
adapter.onLoadMoreComplete(null);
|
||||
}
|
||||
|
||||
searchItem.setVisible(newUserItemList.size() > 0);
|
||||
if (searchItem != null) {
|
||||
searchItem.setVisible(newUserItemList.size() > 0);
|
||||
}
|
||||
|
||||
if (swipeRefreshLayout != null) {
|
||||
swipeRefreshLayout.setRefreshing(false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user