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