From 392e98ba3c4b3e4a01bf475794d23c26e20d654a Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Mon, 15 Aug 2016 21:25:35 +0300
Subject: YYWebImage
---
Juick/Views/MessageCell.m | 2 +-
Juick/Views/MessageCell.xib | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
(limited to 'Juick/Views')
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";
diff --git a/Juick/Views/MessageCell.xib b/Juick/Views/MessageCell.xib
index 29f37fb..5cbf69d 100644
--- a/Juick/Views/MessageCell.xib
+++ b/Juick/Views/MessageCell.xib
@@ -52,7 +52,7 @@
-
+