Skip to content

Commit

Permalink
Fix: Correct Detekt style issues in CalculatorModal.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
akashs056 committed Jul 22, 2024
1 parent 3ade289 commit 2dfaba5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ private fun handleOperator(expression: String, operator: String): String {
}
}

fun Char.isOperator(): Boolean = when(this) {
'+', '','×', '÷' -> true
fun Char.isOperator(): Boolean = when (this) {
'+', '', '×', '÷' -> true
else -> false
}

Expand Down

0 comments on commit 2dfaba5

Please sign in to comment.