Fixed a possible crash problem in some time

This commit is contained in:
Keramat Jokar 2021-11-23 20:15:13 +03:30 committed by GitHub
parent 23b70a3882
commit e33ba51945
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5641,6 +5641,8 @@ public class LaunchActivity extends Activity implements ActionBarLayout.ActionBa
actionBarLayout.rebuildAllFragmentViews(last, last); actionBarLayout.rebuildAllFragmentViews(last, last);
} }
} }
drawerLayoutAdapter.notifyDataSetChanged(); if (drawerLayoutAdapter != null) {
drawerLayoutAdapter.notifyDataSetChanged();
}
} }
} }