diff --git a/composeCalculator/src/main/java/ir/wave/composecalculator/Calculator.kt b/composeCalculator/src/main/java/ir/wave/composecalculator/Calculator.kt index fdcf80d..74788a0 100644 --- a/composeCalculator/src/main/java/ir/wave/composecalculator/Calculator.kt +++ b/composeCalculator/src/main/java/ir/wave/composecalculator/Calculator.kt @@ -370,7 +370,7 @@ fun Calculator( private fun InitDefValue( defValue: Double? ) { - if (defValue == null || defValue == 0.0) return + if (defValue == null) return val viewModel = viewModel() val onAction = viewModel::onAction