Permalink
Browse files

Show the thumbnail image now that we have that.

  • Loading branch information...
1 parent ed1f953 commit 93bf8b3749cddbf810ed86ad653670f8372f2cf2 @alloy committed Aug 9, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 examples/Recipes/app/recipe_detail_view_controller.rb
@@ -19,8 +19,7 @@ def viewDidLoad
def viewWillAppear(animated)
super
- #@photoButton.setImage(recipe.thumbnailImage, forState:UIControlStateNormal)
- @photoButton.setImage(@recipe.image, forState:UIControlStateNormal)
+ @photoButton.setImage(recipe.thumbnailImage, forState:UIControlStateNormal)
navigationItem.title = @nameTextField.text = @recipe.name
overviewTextField.text = @recipe.overview
prepTimeTextField.text = @recipe.prepTime

0 comments on commit 93bf8b3

Please sign in to comment.