Skip to content

Commit

Permalink
Cosmetic changes to colors
Browse files Browse the repository at this point in the history
  • Loading branch information
russell-archer committed Sep 20, 2024
1 parent b23662f commit f9d215f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion Sources/SKHelper/Styles/SKHelperProductViewStyle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ public struct SKHelperProductViewStyle: ProductViewStyle {

}
}
.background(.blue, in: .rect(cornerRadius: 20))

default: ProductView(configuration)
}
Expand Down
3 changes: 1 addition & 2 deletions Sources/SKHelper/Views/SKHelperPurchasesView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ public struct SKHelperPurchasesView: View {
ProductView(id: productId) {
Image(productId)
.resizable()
.frame(maxWidth: 250, maxHeight: 250)
.clipShape(.circle)
.shadow(color: .secondary, radius: 5, x: 10, y: 10)
.scaledToFit()
}
.padding(.all, 10)
Expand All @@ -58,7 +58,6 @@ public struct SKHelperPurchasesView: View {
}
.task { purchasedProducts = store.allPurchasedProductIds }
.onChange(of: store.allPurchasedProductIds) { purchasedProducts = store.allPurchasedProductIds }
.background(LinearGradient(gradient: Gradient(colors: [.white, .blue]), startPoint: .top, endPoint: .bottom))
.sheet(isPresented: $productSelected) { SKHelperManagePurchaseView(selectedProductId: $selectedProductId, showPurchaseInfoSheet: $productSelected) }
}
}
Expand Down
1 change: 0 additions & 1 deletion Sources/SKHelper/Views/SKHelperStoreView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ public struct SKHelperStoreView<Content: View>: View {
}
}
}
.background(LinearGradient(gradient: Gradient(colors: [.white, .blue]), startPoint: .top, endPoint: .bottom))
.productViewStyle(.automatic)
#if os(iOS)
.storeButton(.visible, for: .restorePurchases, .policies, .redeemCode)
Expand Down

0 comments on commit f9d215f

Please sign in to comment.