manmal/hn-android — pull request #109 by maltzj (2014-06-22 05:46:05+00:00)
Title: Fixed comments caching

This solves #99

A boolean parameter was being compared for the incorrect result to determine whether or not we would show comments. This resulted in us not showing cached comments.

Testing done:
Went to a page for the first time with the internet enabled: comments were properly loaded
Backed out, disabled internet, went back to that same post: cached comments appeared
Opened a set of comments with no internet: "no comments" appeared
Opened the same set with internet: comments were properly loaded