mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-22 07:58:20 -05:00
Filtered out the wrong books of the Bible.
This commit is contained in:
parent
d74b684620
commit
d309d0de19
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user