Skip to content

Commit

Permalink
donation: remove restore purchases link when no subscription is found
Browse files Browse the repository at this point in the history
  • Loading branch information
osy committed Aug 25, 2024
1 parent d964295 commit 14bc6ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Platform/iOS/UTMDonateView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private struct StoreView: View {
}
if store.consumables.isEmpty && store.subscriptions.isEmpty {
Link("GitHub Sponsors", destination: URL(string: "https://github.com/sponsors/utmapp")!)
} else {
} else if !store.subscriptions.isEmpty {
Button("Restore Purchases") {
Task {
try? await AppStore.sync()
Expand Down

0 comments on commit 14bc6ef

Please sign in to comment.