mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
Fix possible NPE.
This commit is contained in:
parent
fa6da1902f
commit
60c7fb0056
@ -745,8 +745,10 @@ public class ConversationFragment extends Fragment
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void onSearchQueryUpdated(@Nullable String query) {
|
public void onSearchQueryUpdated(@Nullable String query) {
|
||||||
|
if (getListAdapter() != null) {
|
||||||
getListAdapter().onSearchQueryUpdated(query);
|
getListAdapter().onSearchQueryUpdated(query);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void jumpToMessage(@NonNull Address author, long timestamp, @Nullable Runnable onMessageNotFound) {
|
public void jumpToMessage(@NonNull Address author, long timestamp, @Nullable Runnable onMessageNotFound) {
|
||||||
SimpleTask.run(getLifecycle(), () -> {
|
SimpleTask.run(getLifecycle(), () -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user