mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
Add tags to URLPreviewView and BubbleReactionsView so their highlight behaviour matches their bubble component.
Fix bug setting text alpha.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user