summaryrefslogtreecommitdiff
path: root/Juick/Views/MessageCell.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-17 00:30:51 +0300
committerGravatar Vitaly Takmazov2018-10-17 00:30:51 +0300
commit675d2bd7c52ef0e191d52784f20f3c35e4b308f6 (patch)
tree21f3a35a9e04de4e27ea8dfee4550dd01af36272 /Juick/Views/MessageCell.m
parent6e98d48a7764c3d2a814ce70682a63d024910d17 (diff)
Layout fixes
Diffstat (limited to 'Juick/Views/MessageCell.m')
-rw-r--r--Juick/Views/MessageCell.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Juick/Views/MessageCell.m b/Juick/Views/MessageCell.m
index efdfbc6..cf23f62 100644
--- a/Juick/Views/MessageCell.m
+++ b/Juick/Views/MessageCell.m
@@ -30,6 +30,7 @@
}
- (void) configureWithMessage:(Message *)msg {
+ self.avatar.image = nil;
__weak UIImageView *weakAvatar = self.avatar;
[self.avatar setImageWithURLRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"https://i.juick.com/a/%d.png", [msg.user.uid intValue]]]] placeholderImage:nil success:^(NSURLRequest * _Nonnull request, NSHTTPURLResponse * _Nullable response, UIImage * _Nonnull image) {
[UIView transitionWithView:weakAvatar