diff --git a/pedi-foods/Sources/PediFoods/Resources/Localizable.xcstrings b/pedi-foods/Sources/PediFoods/Resources/Localizable.xcstrings index 22f37e4..d2957b8 100644 --- a/pedi-foods/Sources/PediFoods/Resources/Localizable.xcstrings +++ b/pedi-foods/Sources/PediFoods/Resources/Localizable.xcstrings @@ -671,6 +671,9 @@ }, "Loja não informou métodos presenciais." : { + }, + "Mais rápido e seguro" : { + }, "MÉTODO DE PAGAMENTO" : { "comment" : "A label displayed above the payment methods section in the checkout view.", @@ -701,6 +704,9 @@ }, "Motivo do cancelamento" : { + }, + "Na entrega/retirada com a loja" : { + }, "Name" : { "comment" : "Placeholder title for the Name field in a form", @@ -830,6 +836,12 @@ "Pagamento via PIX" : { "comment" : "The navigation title for the PaymentPixView.", "isCommentAutoGenerated" : true + }, + "Pagar Na Maquininha" : { + + }, + "Pagar Pelo App" : { + }, "Pedido #%@" : { diff --git a/pedi-foods/Sources/PediFoods/Resources/icon_pix.png b/pedi-foods/Sources/PediFoods/Resources/icon_pix.png new file mode 100644 index 0000000..d3d4824 Binary files /dev/null and b/pedi-foods/Sources/PediFoods/Resources/icon_pix.png differ diff --git a/pedi-foods/Sources/PediFoods/Views/Main/CheckoutView.swift b/pedi-foods/Sources/PediFoods/Views/Main/CheckoutView.swift index 5882547..d5dbf8f 100644 --- a/pedi-foods/Sources/PediFoods/Views/Main/CheckoutView.swift +++ b/pedi-foods/Sources/PediFoods/Views/Main/CheckoutView.swift @@ -382,9 +382,18 @@ struct CheckoutView: View { .fill(AppColors.backgroundLight) .frame(width: 54, height: 54) .overlay( - Image(systemName: method.iconName) - .font(.system(size: 20, weight: .semibold)) - .foregroundStyle(method == .pix ? Color.green : AppColors.textPrimary) + Group { + if method == .pix { + Image("icon_pix") + .resizable() + .scaledToFit() + .frame(width: 24, height: 24) + } else { + Image(systemName: method.iconName) + .font(.system(size: 20, weight: .semibold)) + .foregroundStyle(AppColors.textPrimary) + } + } ) VStack(alignment: .leading, spacing: 3) {