Skip to content

Commit 2c9b0b8

Browse files
committed
Remove the unused override of that startAnimatingWithImagesInRange, which does not work
1 parent 3078219 commit 2c9b0b8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

SDWebImageSwiftUI/Classes/ObjC/SDAnimatedImageInterface.m

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,6 @@ - (void)startAnimating {
196196
}
197197
}
198198

199-
- (void)startAnimatingWithImagesInRange:(NSRange)imageRange duration:(NSTimeInterval)duration repeatCount:(NSInteger)repeatCount {
200-
self.animating = YES;
201-
if (self.player) {
202-
[self.player startPlaying];
203-
} else if (_image.images.count > 0) {
204-
[super startAnimatingWithImagesInRange:imageRange duration:duration repeatCount:repeatCount];
205-
}
206-
}
207-
208199
- (void)stopAnimating {
209200
self.animating = NO;
210201
if (self.player) {

0 commit comments

Comments
 (0)