Skip to content

Commit

Permalink
def value bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abbasalim committed Aug 17, 2024
1 parent 9c248c2 commit bfca75a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<CalculatorViewModel>()
val onAction = viewModel::onAction

Expand Down

0 comments on commit bfca75a

Please sign in to comment.