diff options
Fix placeholder position check (#1216)
* Fix placeholder position check
Because of the missed negation `placeholderPosition` could actually point to a different comment. As a result loaded comments would be displayed at a wrong position which could result in duplicated comments.
* Extract placeholder search code
Simple refactoring. The only notable change is that now technically `placeholderPosition` can be -1. In practice that should never happen, but I added checks anyways
Diffstat (limited to 'app/src/main/res/menu/search_subreddits_result_activity.xml')
0 files changed, 0 insertions, 0 deletions