fix(android): resolve color parser and resource bundle resolution issues

This commit is contained in:
Daniel Arantes Loverde
2026-05-27 09:55:00 -03:00
parent 0e6206f899
commit 68864ee21a
9 changed files with 40 additions and 7 deletions

View File

@@ -95,12 +95,21 @@ struct FeaturedStoreCard: View {
private var storeIconPlaceholder: some View {
ZStack {
#if os(Android)
Image("placeholder-product", bundle: .module)
.resizable()
.scaledToFill()
.opacity(0.7)
.frame(maxWidth: .infinity, maxHeight: .infinity)
.clipped()
#else
Image("placeholder-product")
.resizable()
.scaledToFill()
.opacity(0.7)
.frame(maxWidth: .infinity, maxHeight: .infinity)
.clipped()
#endif
Circle()
.fill(AppColors.surface.opacity(0.92))