Skip to content

Commit

Permalink
Remove MILESTONE_CREATE req_code
Browse files Browse the repository at this point in the history
  • Loading branch information
UEvgeniy committed Jan 20, 2018
1 parent 5377028 commit b45e03c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions app/src/main/java/com/github/mobile/RequestCodes.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,4 @@ public interface RequestCodes {
* Request to edit milestone
*/
int MILESTONE_EDIT = 17;

/**
* Request to create milestone
*/
int MILESTONE_CREATE = 18;
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
//creating new milestone
Intent i = EditMilestoneActivity.createIntent(repository);
i.addFlags(FLAG_ACTIVITY_CLEAR_TOP | FLAG_ACTIVITY_SINGLE_TOP);
startActivity(i/*, MILESTONE_CREATE*/);
startActivity(i);
return true;
default:
return super.onOptionsItemSelected(item);
Expand Down

0 comments on commit b45e03c

Please sign in to comment.