mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-27 19:56:57 +02:00
MESSENGER_2910 buildfixes VII build successful
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user