Upscale upgrade icon only on macOS

This commit is contained in:
Davide 2024-11-19 11:18:00 +01:00
parent d78456bb90
commit bac1d494a4
No known key found for this signature in database
GPG Key ID: A48836171C759F5E
1 changed files with 1 additions and 1 deletions

View File

@ -60,12 +60,12 @@ public struct PurchaseRequiredButton: View {
}
} label: {
ThemeImage(iapManager.isRestricted ? .warning : .upgrade)
.imageScale(.large)
.help(helpMessage)
}
#if os(iOS)
.buttonStyle(.plain)
#else
.imageScale(.large)
.buttonStyle(.borderless)
#endif
.foregroundStyle(theme.upgradeColor)