mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-14 01:03:27 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user