mirror of
https://github.com/KokaKiwi/BarInsta
synced 2025-12-12 23:16:31 +00:00
Null check. Fixes austinhuang0131/barinsta#1630
This commit is contained in:
parent
82f1140cbf
commit
d2e9cabccd
1 changed files with 1 additions and 0 deletions
|
|
@ -616,6 +616,7 @@ public class DirectMessageThreadFragment extends Fragment implements DirectReact
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setObservers() {
|
private void setObservers() {
|
||||||
|
if (viewModel == null) return;
|
||||||
threadLiveData = viewModel.getThread();
|
threadLiveData = viewModel.getThread();
|
||||||
// if (threadLiveData == null) {
|
// if (threadLiveData == null) {
|
||||||
// final NavController navController = NavHostFragment.findNavController(this);
|
// final NavController navController = NavHostFragment.findNavController(this);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue