diff --git a/Classes/M13BadgeView.m b/Classes/M13BadgeView.m index f0d9552..0e51a3e 100644 --- a/Classes/M13BadgeView.m +++ b/Classes/M13BadgeView.m @@ -298,7 +298,7 @@ - (void)setText:(NSString *)text if (_animateChanges) { dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, (int64_t)(_animationDuration * NSEC_PER_SEC)); dispatch_after(popTime, dispatch_get_main_queue(), ^(void){ - textLayer.string = text; + self->textLayer.string = text; }); } else { textLayer.string = text;