mirror of
https://github.com/MinimalBible/MinimalBible
synced 2025-07-01 05:45:58 -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> {
|
fun Versification.getBooks(): List<BibleBook> {
|
||||||
return this.getBookIterator()!!.iterable()
|
return this.getBookIterator()!!.iterable()
|
||||||
.filter { VersificationUtil.INTROS.contains(it) }
|
.filter { !VersificationUtil.INTROS.contains(it) }
|
||||||
}
|
}
|
||||||
|
|
||||||
fun Versification.getBookNames(): List<String> {
|
fun Versification.getBookNames(): List<String> {
|
||||||
|
Reference in New Issue
Block a user