mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
[FIX] App permission icon color
This commit is contained in:
@@ -35,7 +35,8 @@ struct AppPermissionGridItemView: View {
|
|||||||
self.isPopoverPresented = true
|
self.isPopoverPresented = true
|
||||||
} label: {
|
} label: {
|
||||||
VStack {
|
VStack {
|
||||||
Image(uiImage: permission.type.icon ?? UIImage(systemSymbol: .questionmark))
|
Image(uiImage: permission.type.icon?.withRenderingMode(.alwaysTemplate) ?? UIImage(systemSymbol: .questionmark))
|
||||||
|
.foregroundColor(.primary)
|
||||||
.padding()
|
.padding()
|
||||||
.background(Circle().foregroundColor(Color(.secondarySystemBackground)))
|
.background(Circle().foregroundColor(Color(.secondarySystemBackground)))
|
||||||
Text(permission.type.localizedShortName ?? permission.type.localizedName ?? "")
|
Text(permission.type.localizedShortName ?? permission.type.localizedName ?? "")
|
||||||
|
|||||||
Reference in New Issue
Block a user