Refine code style again

This commit is contained in:
Mygod
2020-08-04 04:19:30 +08:00
parent ba80e922b8
commit e333c859df
3 changed files with 8 additions and 10 deletions

View File

@@ -105,8 +105,9 @@ class ClientsFragment : Fragment() {
receive = -1
}
override fun toString() = if (send < 0 || receive < 0) "" else
"${Formatter.formatFileSize(app, send)}/s\t\t${Formatter.formatFileSize(app, receive)}/s"
override fun toString() = if (send < 0 || receive < 0) "" else {
"${Formatter.formatFileSize(app, send)}/s\t\t${Formatter.formatFileSize(app, receive)}/s"
}
}
private inner class ClientViewHolder(parent: ViewGroup, val binding: ListitemClientBinding =