mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-19 08:45:27 +02:00
parent
5b7169d396
commit
37f25ed3ba
@ -188,7 +188,9 @@ internal class CalculatorViewModel @Inject constructor(
|
|||||||
|
|
||||||
_equalClicked.update { true }
|
_equalClicked.update { true }
|
||||||
|
|
||||||
val resultFormatted = result.format(prefs.precision, prefs.outputFormat)
|
val resultFormatted = result
|
||||||
|
.format(prefs.precision, prefs.outputFormat)
|
||||||
|
.replace("-", Token.Operator.minus)
|
||||||
|
|
||||||
withContext(Dispatchers.IO) {
|
withContext(Dispatchers.IO) {
|
||||||
calculatorHistoryRepository.add(
|
calculatorHistoryRepository.add(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user