Skip to content

Commit

Permalink
Another crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gkapusta committed Aug 22, 2018
1 parent a0fec77 commit fc9930c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public void onActivityCreated(Bundle savedInstanceState) {
teachPolaButton.setVisibility(View.GONE);
}

if(searchResult.is_friend) {
if(searchResult.is_friend != null && searchResult.is_friend && searchResult.friend_text != null) {
isFriendLayout.setVisibility(View.VISIBLE);
isFriendText.setText(searchResult.friend_text);
}
Expand Down

0 comments on commit fc9930c

Please sign in to comment.