diff --git a/TMessagesProj/src/main/java/org/telegram/ui/LaunchActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/LaunchActivity.java index cdd061243..d6c394a27 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/LaunchActivity.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/LaunchActivity.java @@ -5641,6 +5641,8 @@ public class LaunchActivity extends Activity implements ActionBarLayout.ActionBa actionBarLayout.rebuildAllFragmentViews(last, last); } } - drawerLayoutAdapter.notifyDataSetChanged(); + if (drawerLayoutAdapter != null) { + drawerLayoutAdapter.notifyDataSetChanged(); + } } }