Fixed syntax.

This commit is contained in:
Erik C. Thauvin 2017-10-30 15:45:27 -07:00
parent f41f6c8847
commit f2c3cdca73

View file

@ -192,10 +192,10 @@ open class PinboardPoster(var apiToken: String) {
} }
private fun yesNo(bool: Boolean): String { private fun yesNo(bool: Boolean): String {
if (bool) { return if (bool) {
return "yes" "yes"
} else { } else {
return "no" "no"
} }
} }
} }