remove an unnecessary return statement
This commit is contained in:
parent
c6aae26f94
commit
9f4fc90a37
|
@ -103,10 +103,8 @@ public class MainActivity extends AppCompatActivity {
|
|||
|
||||
@OnClick(R.id.btn_equals)
|
||||
public void equalsClicked() {
|
||||
if (lastKey == EQUALS) {
|
||||
if (lastKey == EQUALS)
|
||||
calculateResult();
|
||||
return;
|
||||
}
|
||||
|
||||
if (lastKey != DIGIT)
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue