bug fixed complated

This commit is contained in:
Samandar Turgunboyev
2026-03-02 15:14:52 +05:00
parent ab363ca3b9
commit 4d5cc84850
6 changed files with 23 additions and 27 deletions

View File

@@ -185,9 +185,11 @@ export default function CreateAdsScreens() {
onSuccess: async (res, variables) => {
if (variables.paymentType === 'payme') {
await Linking.openURL(res.data.url);
router.push('/(dashboard)/announcements');
bottomSheetModalRef.current?.dismiss();
router.push('/profile/my-ads');
} else {
router.push('/(dashboard)/announcements');
bottomSheetModalRef.current?.dismiss();
router.push('/profile/my-ads')
}
},
onError: (err: AxiosError) => {

View File

@@ -234,10 +234,10 @@ const StepThree = forwardRef(({ formData, updateForm, data }: StepProps, ref) =>
</Text>
</TouchableOpacity>
<View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }}>
<Text style={[styles.sectionTitle, { color: theme.text }]}>
{t('Reklama joylashtirish kompaniyasi')}
</Text>
<Text style={[styles.sectionTitle, { color: theme.text }]}>
{t('Reklama joylashtirish kompaniyasi')}
</Text>
<View style={{ flexDirection: 'column', justifyContent: 'space-between', alignItems: 'flex-end', marginBottom: 10 }}>
<TouchableOpacity
style={[
styles.selectAllButton,
@@ -330,7 +330,7 @@ const styles = StyleSheet.create({
marginBottom: 12,
},
pickerText: { fontSize: 16 },
sectionTitle: { fontSize: 16, fontWeight: '700', marginVertical: 12 },
sectionTitle: { fontSize: 16, fontWeight: '700', marginVertical: 12, },
companyItem: {
width: 55,
height: 55,