mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-11-04 15:51:07 +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:
1 parent
9090e0fc2b
commit
8d30519efc
231 files changed
+30234
-62124
No files matched your search
@@ -139,7 +139,7 @@ export async function getReferralScore(
|
||||
): Promise<number> {
|
||||
try {
|
||||
if (!api?.query?.referral?.referralCount) {
|
||||
if (import.meta.env.DEV) console.warn('Referral pallet not available');
|
||||
if (typeof __DEV__ !== 'undefined' && __DEV__) console.warn('Referral pallet not available');
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user