From 044e6ad7deac18fcfa6737002f2c0cfd53555a8a Mon Sep 17 00:00:00 2001 From: Ash Furrow Date: Thu, 24 Oct 2013 13:44:27 -0400 Subject: [PATCH] Fixed typo. --- FRP/FRPPhotoDetailViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FRP/FRPPhotoDetailViewController.m b/FRP/FRPPhotoDetailViewController.m index 34020eb..9a46542 100644 --- a/FRP/FRPPhotoDetailViewController.m +++ b/FRP/FRPPhotoDetailViewController.m @@ -84,7 +84,7 @@ voteButton.frame = CGRectMake(20, CGRectGetHeight(self.view.bounds) - 44 - 20, CGRectGetWidth(self.view.bounds) - 40, 44); voteButton.autoresizingMask = UIViewAutoresizingFlexibleTopMargin; // Note: can't use getter keypath - [RACObserve(self.viewModel, voteButtonText) subscribeNext:^(id value) { + [RACObserve(self.viewModel, votePromptText) subscribeNext:^(id value) { [voteButton setTitle:value forState:UIControlStateNormal]; }]; voteButton.rac_command = [[RACCommand alloc] initWithEnabled:self.viewModel.voteCommand.enabled signalBlock:^RACSignal *(id input) {