|
|
@ -11,6 +11,7 @@ import { |
|
|
|
LayoutAnimation, |
|
|
|
LayoutAnimation, |
|
|
|
} from "react-native"; |
|
|
|
} from "react-native"; |
|
|
|
import { useNavigation } from "@react-navigation/native"; |
|
|
|
import { useNavigation } from "@react-navigation/native"; |
|
|
|
|
|
|
|
import {asyncAwesomeAlert} from "../utils/AsyncWrappers"; |
|
|
|
import { connect } from "react-redux"; |
|
|
|
import { connect } from "react-redux"; |
|
|
|
import { user } from "../redux/actions"; |
|
|
|
import { user } from "../redux/actions"; |
|
|
|
import Svg, { Path, G } from "react-native-svg"; |
|
|
|
import Svg, { Path, G } from "react-native-svg"; |
|
|
@ -344,7 +345,7 @@ const Drawer = ({ position, setBoxPosition, user, mobile, theme }) => { |
|
|
|
</View> |
|
|
|
</View> |
|
|
|
</View> |
|
|
|
</View> |
|
|
|
<View style={tw("flex-1 flex")}> |
|
|
|
<View style={tw("flex-1 flex")}> |
|
|
|
<View |
|
|
|
<Pressable |
|
|
|
style={[ |
|
|
|
style={[ |
|
|
|
tw( |
|
|
|
tw( |
|
|
|
`flex flex-row justify-between items-center w-full flex-row-reverse px-4 overflow-hidden` |
|
|
|
`flex flex-row justify-between items-center w-full flex-row-reverse px-4 overflow-hidden` |
|
|
@ -355,6 +356,11 @@ const Drawer = ({ position, setBoxPosition, user, mobile, theme }) => { |
|
|
|
height: dropdownHeight, |
|
|
|
height: dropdownHeight, |
|
|
|
}, |
|
|
|
}, |
|
|
|
]} |
|
|
|
]} |
|
|
|
|
|
|
|
onPress={() => |
|
|
|
|
|
|
|
asyncAwesomeAlert("نتیجه", "این قابلیت در حال توسعه است.", { |
|
|
|
|
|
|
|
showCancelButton: false, |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
> |
|
|
|
> |
|
|
|
<Text |
|
|
|
<Text |
|
|
|
style={{ |
|
|
|
style={{ |
|
|
@ -376,7 +382,7 @@ const Drawer = ({ position, setBoxPosition, user, mobile, theme }) => { |
|
|
|
> |
|
|
|
> |
|
|
|
+ |
|
|
|
+ |
|
|
|
</Text> |
|
|
|
</Text> |
|
|
|
</View> |
|
|
|
</Pressable> |
|
|
|
<View style={tw("flex w-full px-4")}> |
|
|
|
<View style={tw("flex w-full px-4")}> |
|
|
|
{routes.map((route, index) => ( |
|
|
|
{routes.map((route, index) => ( |
|
|
|
<Route route={route} key={index} /> |
|
|
|
<Route route={route} key={index} /> |
|
|
|