Fixed syntax.
This commit is contained in:
parent
f41f6c8847
commit
f2c3cdca73
1 changed files with 3 additions and 3 deletions
|
@ -192,10 +192,10 @@ open class PinboardPoster(var apiToken: String) {
|
|||
}
|
||||
|
||||
private fun yesNo(bool: Boolean): String {
|
||||
if (bool) {
|
||||
return "yes"
|
||||
return if (bool) {
|
||||
"yes"
|
||||
} else {
|
||||
return "no"
|
||||
"no"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue