Skip to content

Commit b73ec57

Browse files
committed
Fix the watchOS compile issue again
1 parent 4b2c504 commit b73ec57

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

SDWebImageSwiftUI/Classes/ObjC/SDAnimatedImageInterface+WebCache.m

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
*/
88

99
#import "SDAnimatedImageInterface+WebCache.h"
10+
11+
#if SD_WATCH
12+
1013
#import <objc/runtime.h>
1114

1215
@implementation SDAnimatedImageInterface (WebCache)
@@ -55,3 +58,5 @@ - (void)sd_setImageWithURL:(nullable NSURL *)url
5558
}
5659

5760
@end
61+
62+
#endif

0 commit comments

Comments
 (0)