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) {
|
fun addNumberToFormula(number: String) {
|
||||||
lastKey = DIGIT
|
lastKey = DIGIT
|
||||||
inputDisplayedFormula += number
|
inputDisplayedFormula = number
|
||||||
addThousandsDelimiter()
|
addThousandsDelimiter()
|
||||||
showNewResult(inputDisplayedFormula)
|
showNewResult(inputDisplayedFormula)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user