mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 06:37:30 +00:00
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() {
|
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…
Reference in New Issue
Block a user