mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-24 18:02:20 -05:00
MainActivity: Initialize toolbar before (possibly) re-creating fragments.
This commit is contained in:
parent
0cf49a6cd3
commit
cd759757fb
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user