Add missing App Permission Types (#159)

* Add missing app permission types

* Remove old unused icons for photos, background fetch and background audio permission types

* Add missing icons for contacts and reminders permission types

* Add missing camera permission icon and name

* Switch permission icons to filled versions for a more cohesive look
This commit is contained in:
Fabian Thies
2022-11-29 14:30:51 +01:00
committed by GitHub
parent f0302b0d1e
commit 7ebecc353a
15 changed files with 65 additions and 79 deletions

View File

@@ -173,7 +173,8 @@ private extension AppContentViewController
dataSource.cellConfigurationHandler = { (cell, permission, indexPath) in
let cell = cell as! PermissionCollectionViewCell
cell.button.setImage(permission.type.icon, for: .normal)
cell.textLabel.text = permission.type.localizedShortName
cell.button.tintColor = .label
cell.textLabel.text = permission.type.localizedShortName ?? permission.type.localizedName
}
return dataSource