mirror of
https://github.com/MinimalBible/MinimalBible
synced 2025-06-30 21:36:10 -04:00
Filtered out the wrong books of the Bible.
This commit is contained in:
@ -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> {
|
||||
|
Reference in New Issue
Block a user