Skip to content

Commit

Permalink
Merge pull request #797 from miPlodder/fixedIssue#793
Browse files Browse the repository at this point in the history
Fix #793 : Resolved Nav Drawer selected item on Logout
  • Loading branch information
dilpreet2028 authored Apr 19, 2018
2 parents c55cf2f + 7a5f867 commit a7776d2
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,13 @@ public void onClick(DialogInterface dialog, int which) {
finish();
}
})
.setNegativeButton(getString(R.string.cancel))
.setNegativeButton(getString(R.string.cancel),
new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
setNavigationViewSelectedItem(R.id.item_home);
}
})
.createMaterialDialog()
.show();
}
Expand Down

0 comments on commit a7776d2

Please sign in to comment.