summaryrefslogtreecommitdiff
path: root/Juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-03-20 05:43:08 +0300
committerGravatar Vitaly Takmazov2021-03-20 05:43:08 +0300
commit4a892ab5db316d4e90d580d0192c55cd11e452c1 (patch)
treee7bc06ea2cf073479c08e3482c50b925a9552bf0 /Juick
parent6f8f700ea02102621e88da6a6f96a869cdeefb7b (diff)
cell selectionStyle
Diffstat (limited to 'Juick')
-rw-r--r--Juick/Views/BubbleMessageCell.m1
-rw-r--r--Juick/Views/ConversationCell.m1
-rw-r--r--Juick/Views/MessageCell.m1
3 files changed, 3 insertions, 0 deletions
diff --git a/Juick/Views/BubbleMessageCell.m b/Juick/Views/BubbleMessageCell.m
index a5131e6..1c923c7 100644
--- a/Juick/Views/BubbleMessageCell.m
+++ b/Juick/Views/BubbleMessageCell.m
@@ -22,6 +22,7 @@
}
-(void) configureWithMessage:(Message *)message isMe:(BOOL)isMe {
+ self.selectionStyle = UITableViewCellSelectionStyleNone;
self.message.backgroundColor = isMe ? [UIColor colorNamed:@"Title"] : [UIColor colorNamed:@"Chat"];
self.message.textColor = isMe ? [UIColor whiteColor] : [UIColor colorNamed:@"Text"];
self.message.dataDetectorTypes = UIDataDetectorTypeAll;
diff --git a/Juick/Views/ConversationCell.m b/Juick/Views/ConversationCell.m
index 4c1e71c..21a3af2 100644
--- a/Juick/Views/ConversationCell.m
+++ b/Juick/Views/ConversationCell.m
@@ -11,6 +11,7 @@
@implementation ConversationCell
-(void) configureWithChat:(Chat *)chat {
+ self.selectionStyle = UITableViewCellSelectionStyleNone;
self.chatName.textColor = [UIColor colorNamed:@"Title"];
self.chatName.text = chat.uname;
self.lastMessage.text = chat.lastMessageText;
diff --git a/Juick/Views/MessageCell.m b/Juick/Views/MessageCell.m
index 122f7d9..ec2c07b 100644
--- a/Juick/Views/MessageCell.m
+++ b/Juick/Views/MessageCell.m
@@ -61,6 +61,7 @@ const NSString *unreadMarker = @"●";
}
- (void) configureWithMessage:(Message *)msg selectable:(BOOL)selectable {
+ self.selectionStyle = UITableViewCellSelectionStyleNone;
[self updateAvatarWithUrl:msg.user.avatar];
if (!msg.user.uid) {
__weak UILabel *title = self.title;