Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit 552b4b1

Browse files
committed
Revert "Don't close nav drawer on non-checkable options"
This reverts commit 0734934.
1 parent 1d3210f commit 552b4b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/de/codebucket/mkkm/ui/MainActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public boolean onNavigationItemSelected(MenuItem item) {
172172
break;
173173
case R.id.nav_backup:
174174
Toast.makeText(this, R.string.not_implemented, Toast.LENGTH_SHORT).show();
175-
return false;
175+
break;
176176
case R.id.nav_logout:
177177
new AlertDialog.Builder(this)
178178
.setTitle(R.string.dialog_logout_title)
@@ -191,7 +191,7 @@ public void onClick(DialogInterface dialog, int which) {
191191
}
192192
})
193193
.show();
194-
return false;
194+
break;
195195
}
196196

197197
// Change title only on checkable items

0 commit comments

Comments
 (0)