Skip to content

Commit e2aab77

Browse files
committed
Return in case statement instead of falling through
1 parent cac0220 commit e2aab77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/com/github/mobile/ui/commit/CommitDiffListFragment.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ public boolean onOptionsItemSelected(final MenuItem item) {
210210
return true;
211211
case id.m_share:
212212
shareCommit();
213+
return true;
213214
default:
214215
return super.onOptionsItemSelected(item);
215216
}

0 commit comments

Comments
 (0)