mirror of
https://github.com/SimpleMobileTools/Simple-Calculator.git
synced 2025-06-05 21:49:13 +02:00
replace the shown value at clicking on History, do not append it
This commit is contained in:
@ -368,7 +368,7 @@ class CalculatorImpl(calculator: Calculator, private val context: Context) {
|
||||
|
||||
fun addNumberToFormula(number: String) {
|
||||
lastKey = DIGIT
|
||||
inputDisplayedFormula += number
|
||||
inputDisplayedFormula = number
|
||||
addThousandsDelimiter()
|
||||
showNewResult(inputDisplayedFormula)
|
||||
}
|
||||
|
Reference in New Issue
Block a user