Skip to content

Commit ff166c9

Browse files
committed
fix: display empty image while loading the real one
1 parent f0c705d commit ff166c9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ios/attachments/ImageAttachment.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ - (instancetype)initWithImageData:(ImageData *)data {
88
return nil;
99

1010
_imageData = data;
11+
self.image = [UIImage new];
1112

1213
[self loadAsync];
1314
return self;

0 commit comments

Comments
 (0)