feat(eas): Add SOGoEASDisableUI system parameter to remove EAS options in UI when ActiveSync is not used

This commit is contained in:
smizrahi
2023-01-16 15:31:27 +01:00
parent c178963bfc
commit 04e15b5695
9 changed files with 59 additions and 27 deletions
+6
View File
@@ -26,6 +26,7 @@
#import <SOGo/NSDictionary+Utilities.h>
#import <SOGo/NSString+Utilities.h>
#import <SOGo/SOGoSystemDefaults.h>
#import <Contacts/SOGoContactGCSFolder.h>
@@ -91,4 +92,9 @@
return response;
}
- (BOOL) isEasUIEnabled
{
return ![[SOGoSystemDefaults sharedSystemDefaults] isEasUIDisabled];
}
@end