Skip to content
Browse files

subtitle fix (it wasn't updating) added updateTitle method as well

  • Loading branch information...
1 parent 28fee82 commit b2b8ac322b836570cd0cb7e89c47b5c101cf931c FireCore, LLC committed Mar 3, 2011
Showing with 8 additions and 1 deletion.
  1. +1 −0 SMFComplexDropShadowControl.h
  2. +7 −1 SMFComplexDropShadowControl.mm
View
1 SMFComplexDropShadowControl.h
@@ -42,4 +42,5 @@
-(BOOL)blocking;
-(id)attributedStringForString:(NSString*)s;
- (void)updateSubtitle:(NSString *)t;
+- (void)updateTitle:(NSString *)t;
@end
View
8 SMFComplexDropShadowControl.mm
@@ -130,10 +130,16 @@ -(BOOL)showsWaitSpinner
return _showWaitSpinner;
}
+- (void)updateTitle:(NSString *)t
+{
+ _title = t;
+ [self reload];
+}
- (void)updateSubtitle:(NSString *)t
{
- [_titleControl setTitleSubtext:t];
+ _subtitle = t;
+ [self reload];
}
-(void)dealloc

0 comments on commit b2b8ac3

Please sign in to comment.
Something went wrong with that request. Please try again.