mirror of
https://github.com/SimpleMobileTools/Simple-Calculator.git
synced 2025-06-05 21:49:13 +02:00
remove an unnecessary return statement
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user