MESSENGER-3915 Settings for BuM builds

This commit is contained in:
Arnfried Griesert
2022-11-29 10:56:40 +00:00
committed by Frank Rotermund
parent 89a98e94be
commit 52bd3752bb
15 changed files with 65 additions and 13 deletions
+2 -2
View File
@@ -2336,7 +2336,7 @@ static CGSize kThreadListBarButtonItemImageSize;
[self.delegate roomViewControllerDidRequestPollCreationFormPresentation:self];
}]];
}
if (BuildSettings.locationSharingEnabled && !self.isNewDirectChat)
if (BWIBuildSettings.shared.locationSharingEnabled && !self.isNewDirectChat)
{
[actionItems addObject:[[RoomActionItem alloc] initWithImage:AssetImages.actionLocation.image andAction:^{
MXStrongifyAndReturnIfNil(self);
@@ -5135,7 +5135,7 @@ static CGSize kThreadListBarButtonItemImageSize;
{
[actionItems addObject:@(ComposerCreateActionPolls)];
}
if (BuildSettings.locationSharingEnabled && !self.isNewDirectChat)
if (BWIBuildSettings.shared.locationSharingEnabled && !self.isNewDirectChat)
{
[actionItems addObject:@(ComposerCreateActionLocation)];
}