Skip to content

Commit

Permalink
style(#295): ktlint 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
jaehan4707 committed Dec 13, 2023
1 parent 4214e76 commit 462056c
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ fun TextView.bindDate(date: String) {

@BindingAdapter("app:editButtonEnabled")
fun Button.bindEnabled(content: String) {
this.isEnabled = when (content.length) {
in 1..20 -> true
else -> false
}
}
this.isEnabled =
when (content.length) {
in 1..20 -> true
else -> false
}
}

0 comments on commit 462056c

Please sign in to comment.