Skip to content

Commit

Permalink
Merge pull request ResearchKit#131 from dephillipsmichael/bug/null_st…
Browse files Browse the repository at this point in the history
…ring_display

bug/null_string_display
  • Loading branch information
syoung-smallwisdom committed Jun 15, 2016
2 parents 17535a5 + 14786bc commit 7e8c7f0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -152,7 +152,7 @@ - (void)refreshView
else {
self.nameTextField.delegate = self;

self.nameTextField.text = self.user.name;
self.nameTextField.text = (self.user.name != nil) ? self.user.name : @"";
self.nameTextField.enabled = NO;

self.emailTextField.text = self.user.email;
Expand Down

0 comments on commit 7e8c7f0

Please sign in to comment.