1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-21 08:25:06 -05:00

MainActivity: Initialize toolbar before (possibly) re-creating fragments.

This commit is contained in:
Sebastian Kaspari 2015-04-06 00:16:07 +02:00
parent 0cf49a6cd3
commit cd759757fb

View File

@ -59,13 +59,13 @@ public class MainActivity extends ActionBarActivity implements YaaicActivity, Se
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
initializeToolbar();
initializeDrawer();
super.onCreate(savedInstanceState);
if (savedInstanceState == null) {
onOverview(null);
}