Null check. Fixes austinhuang0131/barinsta#1630
This commit is contained in:
parent
82f1140cbf
commit
d2e9cabccd
@ -616,6 +616,7 @@ public class DirectMessageThreadFragment extends Fragment implements DirectReact
|
||||
}
|
||||
|
||||
private void setObservers() {
|
||||
if (viewModel == null) return;
|
||||
threadLiveData = viewModel.getThread();
|
||||
// if (threadLiveData == null) {
|
||||
// final NavController navController = NavHostFragment.findNavController(this);
|
||||
|
Loading…
Reference in New Issue
Block a user