some spacing corrections
This commit is contained in:
parent
832487fbe6
commit
70cb8faa94
|
@ -147,10 +147,11 @@ class CalculatorImpl(calculator: Calculator, private val context: Context) {
|
|||
|
||||
secondValue = getSecondValue()
|
||||
calculateResult()
|
||||
if ( (lastOperation == DIVIDE || lastOperation == PERCENT) && secondValue == 0.0) {
|
||||
if ((lastOperation == DIVIDE || lastOperation == PERCENT) && secondValue == 0.0) {
|
||||
lastKey = DIGIT
|
||||
return
|
||||
}
|
||||
|
||||
lastKey = EQUALS
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue