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:
Kurdistan Tech Ministry committed 2026-01-14 15:05:10 +03:00
1 parent 9090e0fc2b
commit 8d30519efc
231 files changed
+30234 -62124

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
import { useState } from 'react';
import { usePolkadot } from '@/contexts/PolkadotContext';
import { usePezkuwi } from '@/contexts/PezkuwiContext';
import { useNavigate } from 'react-router-dom';
import { Card } from '@/components/ui/card';
import { Button } from '@/components/ui/button';
@@ -12,7 +12,7 @@ import { ArrowLeft, Loader2, AlertCircle, Rocket } from 'lucide-react';
import { toast } from 'sonner';
export default function CreatePresale() {
const { api, selectedAccount } = usePolkadot();
const { api, selectedAccount } = usePezkuwi();
const navigate = useNavigate();
const [creating, setCreating] = useState(false);
+2 -2
View File
@@ -1,5 +1,5 @@
import { useState, useEffect } from 'react';
import { usePolkadot } from '@/contexts/PolkadotContext';
import { usePezkuwi } from '@/contexts/PezkuwiContext';
import { useWallet } from '@/contexts/WalletContext';
import { useParams, useNavigate } from 'react-router-dom';
import { Card } from '@/components/ui/card';
@@ -38,7 +38,7 @@ interface PresaleData {
export default function PresaleDetail() {
const { id } = useParams();
const { api, selectedAccount, isApiReady } = usePolkadot();
const { api, selectedAccount, isApiReady } = usePezkuwi();
const { balances } = useWallet();
const navigate = useNavigate();
+2 -2
View File
@@ -1,6 +1,6 @@
import { useState, useEffect } from 'react';
import { useTranslation } from 'react-i18next';
import { usePolkadot } from '@/contexts/PolkadotContext';
import { usePezkuwi } from '@/contexts/PezkuwiContext';
import { useNavigate } from 'react-router-dom';
import { Card } from '@/components/ui/card';
import { Button } from '@/components/ui/button';
@@ -29,7 +29,7 @@ interface PresaleInfo {
export default function PresaleList() {
const { t } = useTranslation();
const { api, isApiReady } = usePolkadot();
const { api, isApiReady } = usePezkuwi();
const navigate = useNavigate();
const [presales, setPresales] = useState<PresaleInfo[]>([]);