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()
|
secondValue = getSecondValue()
|
||||||
calculateResult()
|
calculateResult()
|
||||||
if ( (lastOperation == DIVIDE || lastOperation == PERCENT) && secondValue == 0.0) {
|
if ((lastOperation == DIVIDE || lastOperation == PERCENT) && secondValue == 0.0) {
|
||||||
lastKey = DIGIT
|
lastKey = DIGIT
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
lastKey = EQUALS
|
lastKey = EQUALS
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue