Filtered out the wrong books of the Bible.

This commit is contained in:
Bradlee Speice 2014-09-14 20:03:33 -04:00
parent d74b684620
commit d309d0de19

View File

@ -54,7 +54,7 @@ fun <T> Iterator<T>.iterable(): Iterable<T> {
fun Versification.getBooks(): List<BibleBook> {
return this.getBookIterator()!!.iterable()
.filter { VersificationUtil.INTROS.contains(it) }
.filter { !VersificationUtil.INTROS.contains(it) }
}
fun Versification.getBookNames(): List<String> {