HackMyChurch / aelf-dailyreadings

AELF daily readings is the easiest and most discrete daily reading application on the play store. https://play.google.com/store/apps/details?id=co.epitre.aelf_lectures
MIT License
47 stars 14 forks source link

[bible] fix back button behavior #19

Closed yadutaf closed 5 years ago

yadutaf commented 5 years ago

When the "bible" section restores the last viewed URL, it does not restore the history. When a user presses the "back" button, the application exits instead of going back to the main bible page.

This commit proposes a different behavior:

This is a poor man state machine...

yadutaf commented 5 years ago

I forgot to mention that, on phones, there the "Bible" title on the top which is clickable and goes back to the list of books. However, this function is not available on tablets. But there may be a better approach :)