mirror of
https://github.com/SimpleMobileTools/Simple-Calculator.git
synced 2025-02-16 19:40:48 +01:00
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…
x
Reference in New Issue
Block a user