Fix possible NPE.

This commit is contained in:
Greyson Parrelli 2019-02-20 17:20:12 -08:00
parent fa6da1902f
commit 60c7fb0056

View File

@ -745,7 +745,9 @@ public class ConversationFragment extends Fragment
}
public void onSearchQueryUpdated(@Nullable String query) {
getListAdapter().onSearchQueryUpdated(query);
if (getListAdapter() != null) {
getListAdapter().onSearchQueryUpdated(query);
}
}
public void jumpToMessage(@NonNull Address author, long timestamp, @Nullable Runnable onMessageNotFound) {