diff options
author | Vitaly Takmazov | 2016-08-15 21:25:35 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-08-15 21:25:35 +0300 |
commit | 392e98ba3c4b3e4a01bf475794d23c26e20d654a (patch) | |
tree | 1bbcf7e0b55bfac73d3abf87757338fe007f8d09 /Juick/Views/MessageCell.m | |
parent | 9d2b52bb9ee096c546028bd0257944cade21ab4e (diff) |
YYWebImage
Diffstat (limited to 'Juick/Views/MessageCell.m')
-rw-r--r-- | Juick/Views/MessageCell.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Juick/Views/MessageCell.m b/Juick/Views/MessageCell.m index 65565a8..7117052 100644 --- a/Juick/Views/MessageCell.m +++ b/Juick/Views/MessageCell.m @@ -23,7 +23,7 @@ - (void) setMessage:(Message *)msg { _message = msg; - [self.avatar df_setImageWithResource:[NSURL URLWithString:[NSString stringWithFormat:@"https://i.juick.com/a/%d.png", [msg.userID intValue]]]]; + self.avatar.yy_imageURL = [NSURL URLWithString:[NSString stringWithFormat:@"https://i.juick.com/a/%d.png", [msg.userID intValue]]]; self.title.text = msg.user; NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; formatter.dateFormat = @"yyyy-MM-dd HH:mm:ss"; |