|
|
|
|
@ -48,28 +48,26 @@ struct UmpireView: View { |
|
|
|
|
List { |
|
|
|
|
|
|
|
|
|
PurchaseListView() |
|
|
|
|
|
|
|
|
|
if Guard.main.currentPlan != .monthlyUnlimited { |
|
|
|
|
Section { |
|
|
|
|
Button { |
|
|
|
|
self.showSubscriptions = true |
|
|
|
|
} label: { |
|
|
|
|
Label("Les offres", systemImage: "bookmark.fill") |
|
|
|
|
}.simultaneousGesture( |
|
|
|
|
LongPressGesture() |
|
|
|
|
.onEnded { _ in |
|
|
|
|
self.showProductIds = true |
|
|
|
|
} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
.highPriorityGesture( |
|
|
|
|
TapGesture() |
|
|
|
|
.onEnded { _ in |
|
|
|
|
self.showSubscriptions = true |
|
|
|
|
} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Section { |
|
|
|
|
Button { |
|
|
|
|
self.showSubscriptions = true |
|
|
|
|
} label: { |
|
|
|
|
Label("Les offres", systemImage: "bookmark.fill") |
|
|
|
|
}.simultaneousGesture( |
|
|
|
|
LongPressGesture() |
|
|
|
|
.onEnded { _ in |
|
|
|
|
self.showProductIds = true |
|
|
|
|
} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
.highPriorityGesture( |
|
|
|
|
TapGesture() |
|
|
|
|
.onEnded { _ in |
|
|
|
|
self.showSubscriptions = true |
|
|
|
|
} |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if StoreCenter.main.isAuthenticated { |
|
|
|
|
|