Add tags to URLPreviewView and BubbleReactionsView so their highlight behaviour matches their bubble component.

Fix bug setting text alpha.
This commit is contained in:
Doug
2021-10-12 17:18:29 +01:00
parent 912164f4f2
commit 78978f446d
3 changed files with 4 additions and 1 deletions
@@ -377,6 +377,7 @@ const CGFloat kTypingCellHeight = 24;
urlPreviewView = [URLPreviewView instantiate];
urlPreviewView.preview = component.urlPreviewData;
urlPreviewView.delegate = self;
urlPreviewView.tag = index;
[temporaryViews addObject:urlPreviewView];
@@ -416,6 +417,7 @@ const CGFloat kTypingCellHeight = 24;
reactionsView = [BubbleReactionsView new];
reactionsView.viewModel = bubbleReactionsViewModel;
reactionsView.tag = index;
[reactionsView updateWithTheme:ThemeService.shared.theme];
bubbleReactionsViewModel.viewModelDelegate = self;