Skip to content

Commit

Permalink
Fix for a crash
Browse files Browse the repository at this point in the history
  • Loading branch information
gkapusta committed Aug 22, 2018
1 parent aa39867 commit a0fec77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void bind(SearchResult searchResult) {
plScore.setProgress(0);
}

if(searchResult.is_friend) {
if(searchResult.is_friend != null && searchResult.is_friend) {
heartIcon.setVisibility(View.VISIBLE);
}
}
Expand Down

0 comments on commit a0fec77

Please sign in to comment.