Namespace some settings

This commit is contained in:
ismailgulek
2020-08-03 16:07:39 +03:00
parent 7a2a6dcdce
commit 83a29d1bee
7 changed files with 51 additions and 50 deletions
+4 -4
View File
@@ -2578,7 +2578,7 @@
}]];
if (BuildSettings.allowMessageDetailsShare)
if (BuildSettings.messageDetailsAllowShare)
{
[currentAlert addAction:[UIAlertAction actionWithTitle:NSLocalizedStringFromTable(@"room_event_action_share", @"Vector", nil)
style:UIAlertActionStyleDefault
@@ -2691,7 +2691,7 @@
if (attachment.type != MXKAttachmentTypeSticker)
{
if (BuildSettings.allowMessageDetailsShare)
if (BuildSettings.messageDetailsAllowShare)
{
[currentAlert addAction:[UIAlertAction actionWithTitle:NSLocalizedStringFromTable(@"room_event_action_share", @"Vector", nil)
style:UIAlertActionStyleDefault
@@ -2802,7 +2802,7 @@
}]];
}
if (BuildSettings.allowMessageDetailsPermalink)
if (BuildSettings.messageDetailsAllowPermalink)
{
[currentAlert addAction:[UIAlertAction actionWithTitle:NSLocalizedStringFromTable(@"room_event_action_permalink", @"Vector", nil)
style:UIAlertActionStyleDefault
@@ -2844,7 +2844,7 @@
}]];
}
if (BuildSettings.allowMessageDetailsViewSource)
if (BuildSettings.messageDetailsAllowViewSource)
{
[currentAlert addAction:[UIAlertAction actionWithTitle:NSLocalizedStringFromTable(@"room_event_action_view_source", @"Vector", nil)
style:UIAlertActionStyleDefault