We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd358c6 commit 0dec0e4Copy full SHA for 0dec0e4
MJRefresh/Custom/Trailer/MJRefreshStateTrailer.m
@@ -38,6 +38,7 @@ - (UILabel *)stateLabel {
38
- (instancetype)setTitle:(NSString *)title forState:(MJRefreshState)state {
39
if (title == nil) return self;
40
self.stateTitles[@(state)] = title;
41
+ self.stateLabel.text = self.stateTitles[@(self.state)];
42
return self;
43
}
44
0 commit comments