Skip to content

Commit

Permalink
refactor #818 Remove useless elvis operator.
Browse files Browse the repository at this point in the history
  • Loading branch information
toastkidjp committed Apr 26, 2023
1 parent d2e3edb commit f1a3b1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ fun LoanCalculatorUi() {

private fun onChange(inputChannel: Channel<String>, text: String) {
CoroutineScope(Dispatchers.IO).launch {
inputChannel.send(text ?: "")
inputChannel.send(text)
}
}

Expand Down

0 comments on commit f1a3b1e

Please sign in to comment.