Add RequestContactsAccessFooterView.

Update InviteFriendsHeaderView and StartChatViewController styles to match Figma doc.
This commit is contained in:
Doug
2021-07-23 16:43:39 +01:00
parent 900bb5f336
commit 03c577a611
7 changed files with 280 additions and 40 deletions
@@ -466,8 +466,8 @@
searchInputSection = count++;
}
// Keep visible the header for the both contact sections, even if their are empty.
if (BuildSettings.allowLocalContactsAccess)
// Keep visible the header for the both contact sections, even if they're are empty.
if (BuildSettings.allowLocalContactsAccess && [CNContactStore authorizationStatusForEntityType:CNEntityTypeContacts] == CNAuthorizationStatusAuthorized)
{
filteredLocalContactsSection = count++;
}
@@ -482,7 +482,7 @@
}
// Keep visible the local contact header, even if the section is empty.
if (BuildSettings.allowLocalContactsAccess)
if (BuildSettings.allowLocalContactsAccess && [CNContactStore authorizationStatusForEntityType:CNEntityTypeContacts] == CNAuthorizationStatusAuthorized)
{
filteredLocalContactsSection = count++;
}