Skip to content

Commit a12a9ad

Browse files
rob729jddeep
authored andcommitted
Unselects last item visited on navigation drawer
1 parent e4003eb commit a12a9ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/io/neurolab/main/NeuroLab.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ public boolean onNavigationItemSelected(@NonNull MenuItem item) {
352352
// Handle navigation view item clicks here.
353353
int id = item.getItemId();
354354

355+
item.setCheckable(false);
355356
if (id == R.id.nav_focus) {
356357
startActivity(new Intent(this, FocusParentActivity.class));
357358
} else if (id == R.id.nav_relax) {

0 commit comments

Comments
 (0)