Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
Merge "Fixed crash when selecting navigation item from map activity w…
Browse files Browse the repository at this point in the history
…hen map was accessed from sessions details"
  • Loading branch information
freewheelnat authored and Gerrit Code Review committed May 6, 2016
2 parents 57a9f48 + 7000060 commit 894784e
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -386,7 +386,11 @@ public void run() {
}
}

mDrawerLayout.closeDrawer(GravityCompat.START);
// The navigation menu is accessible from some screens, via swiping, without a drawer
// layout, eg MapActivity when accessed from SessionDetailsActivity.
if (mDrawerLayout != null) {
mDrawerLayout.closeDrawer(GravityCompat.START);
}
}

private boolean isSpecialItem(NavigationItemEnum item) {
Expand Down

0 comments on commit 894784e

Please sign in to comment.