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: { } label: {
ThemeImage(iapManager.isRestricted ? .warning : .upgrade) ThemeImage(iapManager.isRestricted ? .warning : .upgrade)
.imageScale(.large)
.help(helpMessage) .help(helpMessage)
} }
#if os(iOS) #if os(iOS)
.buttonStyle(.plain) .buttonStyle(.plain)
#else #else
.imageScale(.large)
.buttonStyle(.borderless) .buttonStyle(.borderless)
#endif #endif
.foregroundStyle(theme.upgradeColor) .foregroundStyle(theme.upgradeColor)