replace the shown value at clicking on History, do not append it

This commit is contained in:
tibbi 2022-01-18 15:37:29 +01:00
parent 663bc63048
commit f501384d25
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ class CalculatorImpl(calculator: Calculator, private val context: Context) {
fun addNumberToFormula(number: String) { fun addNumberToFormula(number: String) {
lastKey = DIGIT lastKey = DIGIT
inputDisplayedFormula += number inputDisplayedFormula = number
addThousandsDelimiter() addThousandsDelimiter()
showNewResult(inputDisplayedFormula) showNewResult(inputDisplayedFormula)
} }