Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bcd573c0 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Added NULL check for Action Bar"

parents 041ec632 3abef4d3
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -214,9 +214,11 @@ public class SettingsDrawerActivity extends Activity {

    public void showMenuIcon() {
        mShowingMenu = true;
        if(getActionBar() != null){
            getActionBar().setHomeAsUpIndicator(R.drawable.ic_menu);
            getActionBar().setDisplayHomeAsUpEnabled(true);
        }
    }

    public List<DashboardCategory> getDashboardCategories() {
        if (sDashboardCategories == null) {