mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-04 23:28:19 -05:00
Fix the 1st Timothy scrolling issue
This commit is contained in:
parent
ee62ddb707
commit
fba4e04fdb
@ -37,7 +37,9 @@ class BibleMenu(val b: Book) : BaseExpandableListAdapter() {
|
||||
groupPosition: Int, childPosition: Int, id: Long): Boolean {
|
||||
|
||||
val map = menuMappings[groupPosition]
|
||||
listener onNext BookScrollEvent(map.first, map.second)
|
||||
// childPosition is index-based
|
||||
// TODO: Figure out why trying chapter 0 triggers a NotImplementedException...
|
||||
listener onNext BookScrollEvent(map.first, childPosition + 1)
|
||||
|
||||
return true; // Event was handled
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user