File tree 1 file changed +4
-4
lines changed
app/src/main/java/com/donnfelker/android/bootstrap/ui
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,14 +66,14 @@ protected void onCreate(Bundle savedInstanceState) {
66
66
67
67
/** Called when a drawer has settled in a completely closed state. */
68
68
public void onDrawerClosed (View view ) {
69
- getActionBar ().setTitle (mTitle );
70
- invalidateOptionsMenu (); // creates call to onPrepareOptionsMenu()
69
+ getSupportActionBar ().setTitle (mTitle );
70
+ supportInvalidateOptionsMenu (); // creates call to onPrepareOptionsMenu()
71
71
}
72
72
73
73
/** Called when a drawer has settled in a completely open state. */
74
74
public void onDrawerOpened (View drawerView ) {
75
- getActionBar ().setTitle (mDrawerTitle );
76
- invalidateOptionsMenu (); // creates call to onPrepareOptionsMenu()
75
+ getSupportActionBar ().setTitle (mDrawerTitle );
76
+ supportInvalidateOptionsMenu (); // creates call to onPrepareOptionsMenu()
77
77
}
78
78
};
79
79
You can’t perform that action at this time.
0 commit comments