This commit is contained in:
Samandar Turgunboyev
2025-09-04 18:38:08 +05:00
parent 9d317290ef
commit f41451c6b8
98 changed files with 1717 additions and 2118 deletions

View File

@@ -1,5 +1,6 @@
import { useMutation } from '@tanstack/react-query';
import packetsApi from 'api/packets';
import AppText from 'components/AppText';
import React, { useEffect, useRef } from 'react';
import { useTranslation } from 'react-i18next';
import {
@@ -7,7 +8,6 @@ import {
Animated,
Dimensions,
StyleSheet,
Text,
TouchableOpacity,
TouchableWithoutFeedback,
View,
@@ -152,14 +152,14 @@ const ModalPay = ({
width={28}
height={28}
/>
<Text
<AppText
style={[
PaymentStyle.titleMethod,
{ color: selectedId == 'card' ? '#28A7E8' : '#000' },
]}
>
{t('Bank kartasi')}
</Text>
</AppText>
</View>
<View
style={[
@@ -196,14 +196,14 @@ const ModalPay = ({
height={28}
colorCircle={selectedId == 'pay' ? '#28A7E8' : '#000000'}
/>
<Text
<AppText
style={[
PaymentStyle.titleMethod,
{ color: selectedId == 'pay' ? '#28A7E8' : '#000' },
]}
>
{t('Naqt pul')}
</Text>
</AppText>
</View>
<View
style={[
@@ -235,7 +235,7 @@ const ModalPay = ({
{load ? (
<ActivityIndicator size="small" color="#fff" />
) : (
<Text
<AppText
style={[
PaymentStyle.btnText,
{
@@ -245,7 +245,7 @@ const ModalPay = ({
]}
>
{t("To'lash")}
</Text>
</AppText>
)}
</TouchableOpacity>
</Animated.View>