Skip to content

Commit

Permalink
more little changes
Browse files Browse the repository at this point in the history
  • Loading branch information
agrawal-vatsal committed Oct 22, 2017
1 parent 9904f12 commit a74ce3e
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,12 @@ public void multiply() {

@OnClick(R.id.divide)
public void divide() {
operation = '/';
sign2.setText("/");
setOperation('/');
}

public void setOperation(char op) {
operation = op;
sign2.setText("" + op);
isOperationEntered = true;
}

Expand Down

0 comments on commit a74ce3e

Please sign in to comment.