mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-12 00:03:27 +01:00
Revises store page permissions UI (again)
* Switches back “Permissions” and “Privacy” section titles * Shrinks privacy permissions card title font * Combines privacy + entitlements back into single “Permissions” section * Removes “Entitlements” section name
This commit is contained in:
@@ -121,7 +121,7 @@ class AppDetailCollectionViewController: UICollectionViewController
|
||||
{
|
||||
case .privacy: break
|
||||
case .knownEntitlements:
|
||||
configuration.text = NSLocalizedString("Entitlements", comment: "")
|
||||
configuration.text = nil
|
||||
|
||||
configuration.secondaryTextProperties.font = UIFont.preferredFont(forTextStyle: .callout)
|
||||
configuration.textToSecondaryTextVerticalPadding = 8
|
||||
@@ -206,7 +206,7 @@ private extension AppDetailCollectionViewController
|
||||
guard let self, #available(iOS 16, *) else { return }
|
||||
|
||||
cell.contentConfiguration = UIHostingConfiguration {
|
||||
AppPermissionsCard(title: "Permissions",
|
||||
AppPermissionsCard(title: "Privacy",
|
||||
description: "\(self.app.name) may request access to the following:",
|
||||
tintColor: Color(uiColor: self.app.tintColor ?? .altPrimary),
|
||||
permissions: self.privacyPermissions)
|
||||
|
||||
Reference in New Issue
Block a user