Disable the contact access footer view in Unified Search.

This commit is contained in:
Doug
2021-08-10 12:32:07 +01:00
parent 82cb8bc488
commit e293279a53
3 changed files with 12 additions and 1 deletions
@@ -68,6 +68,9 @@
{
[super finalizeInit];
// Allow the contact access footer to be shown when necessary.
self.hideRequestContactAccessFooter = NO;
// Setup `MXKViewControllerHandling` properties
self.enableBarTintColorStatusChange = NO;
self.rageShakeManager = [RageShakeManager sharedManager];
@@ -211,7 +214,7 @@
- (void)updateFooterView
{
if (!BuildSettings.allowLocalContactsAccess)
if (!BuildSettings.allowLocalContactsAccess || self.hideRequestContactAccessFooter)
{
self.contactsTableView.tableFooterView = [[UIView alloc] init];
return;