MESSENGER_2910 buildfixes VII build successful

This commit is contained in:
Frank Rotermund
2022-05-03 16:45:58 +02:00
parent 7ba95405fa
commit 557848def2
9 changed files with 55 additions and 29 deletions
+7 -10
View File
@@ -238,7 +238,9 @@ static CGSize kThreadListBarButtonItemImageSize;
@property (nonatomic) BOOL shouldShowLiveLocationSharingBannerView;
#if LOCATION
@property (nonatomic, weak) LiveLocationSharingBannerView *liveLocationSharingBannerView;
#endif
@end
@@ -354,16 +356,6 @@ static CGSize kThreadListBarButtonItemImageSize;
// Register first customized cell view classes used to render bubbles
[[RoomTimelineConfiguration shared].currentStyle.cellProvider registerCellsForTableView:self.bubblesTableView];
[self.bubblesTableView registerClass:PollBubbleCell.class forCellReuseIdentifier:PollBubbleCell.defaultReuseIdentifier];
[self.bubblesTableView registerClass:PollWithoutSenderInfoBubbleCell.class forCellReuseIdentifier:PollWithoutSenderInfoBubbleCell.defaultReuseIdentifier];
[self.bubblesTableView registerClass:PollWithPaginationTitleBubbleCell.class forCellReuseIdentifier:PollWithPaginationTitleBubbleCell.defaultReuseIdentifier];
#ifdef LOCATION
[self.bubblesTableView registerClass:LocationBubbleCell.class forCellReuseIdentifier:LocationBubbleCell.defaultReuseIdentifier];
[self.bubblesTableView registerClass:LocationWithoutSenderInfoBubbleCell.class forCellReuseIdentifier:LocationWithoutSenderInfoBubbleCell.defaultReuseIdentifier];
[self.bubblesTableView registerClass:LocationWithPaginationTitleBubbleCell.class forCellReuseIdentifier:LocationWithPaginationTitleBubbleCell.defaultReuseIdentifier];
#endif
[self vc_removeBackTitle];
if (BuildSettings.enableAntivirusScan)
@@ -504,7 +496,9 @@ static CGSize kThreadListBarButtonItemImageSize;
[self updateThreadListBarButtonBadgeWith:self.mainSession.threadingService];
#if LOCATION
[self.liveLocationSharingBannerView updateWithTheme:ThemeService.shared.theme];
#endif
[self setNeedsStatusBarAppearanceUpdate];
}
@@ -7523,6 +7517,7 @@ static CGSize kThreadListBarButtonItemImageSize;
- (void)showLiveLocationBannerView
{
#if LOCATION
if (self.liveLocationSharingBannerView)
{
return;
@@ -7547,6 +7542,8 @@ static CGSize kThreadListBarButtonItemImageSize;
[self.topBannersStackView addArrangedSubview:bannerView];
self.liveLocationSharingBannerView = bannerView;
#endif
}
@end