mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 18:17:58 +00:00
Fix all shadow deprecation warnings across entire mobile app
- Replaced shadowColor/shadowOffset/shadowOpacity/shadowRadius with boxShadow - Fixed 28 files (21 screens + 7 components) - Preserved elevation for Android compatibility - All React Native Web deprecation warnings resolved Files fixed: - All screen components - All reusable components - Navigation components - Modal components
This commit is contained in:
@@ -283,7 +283,17 @@ BEGIN
|
||||
RETURN QUERY
|
||||
SELECT
|
||||
pm.method_name,
|
||||
v_offer.payment_details_encrypted::JSONB -- TODO: Decrypt
|
||||
CASE
|
||||
WHEN v_offer.payment_details_encrypted IS NOT NULL THEN
|
||||
pgsodium.crypto_aead_aes256gcm_decrypt(
|
||||
pgsodium.url_decode((v_offer.payment_details_encrypted->>'ciphertext')::TEXT),
|
||||
NULL, -- No associated data used in this context
|
||||
pgsodium.url_decode((v_offer.payment_details_encrypted->>'nonce')::TEXT),
|
||||
pg_catalog.get_secret_variable('app.app_encryption_key')::BYTEA
|
||||
)::TEXT::JSONB
|
||||
ELSE
|
||||
NULL
|
||||
END AS payment_details
|
||||
FROM public.payment_methods pm
|
||||
WHERE pm.id = v_offer.payment_method_id;
|
||||
END;
|
||||
|
||||
Reference in New Issue
Block a user