Improved app detail view

This commit is contained in:
Fabian Thies
2022-12-12 19:15:16 +01:00
committed by Joe Mattiello
parent 81ea791b63
commit 89dea75b84
3 changed files with 13 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ struct AppPermissionGridItemView: View {
Image(uiImage: (permission.type.icon?.withRenderingMode(.alwaysTemplate) ?? UIImage(systemName: "questionmark"))!) // TODO: Replace with system icon
.padding()
.background(Circle().foregroundColor(Color(.secondarySystemBackground)))
Text(permission.type.localizedShortName ?? "")
Text(permission.type.localizedShortName ?? permission.type.localizedName ?? "")
}
.foregroundColor(.primary)
}