From 4a892ab5db316d4e90d580d0192c55cd11e452c1 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 20 Mar 2021 05:43:08 +0300 Subject: cell selectionStyle --- Juick/Views/BubbleMessageCell.m | 1 + Juick/Views/ConversationCell.m | 1 + Juick/Views/MessageCell.m | 1 + 3 files changed, 3 insertions(+) (limited to 'Juick/Views') 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; -- cgit v1.2.3