fixed something

master
Reza_ashrafi 2 years ago
parent 0ecaab0b08
commit 588af7f6b2
  1. 5
      src/screens/Address/index.js
  2. 7
      src/screens/Home/components/Blogs.js

@ -7,7 +7,6 @@ import {
StatusBar,
Platform,
Dimensions,
Appearance,
KeyboardAvoidingView,
TextInput,
TouchableWithoutFeedback,
@ -24,7 +23,6 @@ import Navbar from "../../components/Navbar";
import CustomPressable from "../../components/Pressable";
import CustomTextInput from "../../components/CustomTextInput";
import Select from "../../components/Select";
import MapSelector from "../../components/MapSelector";
//style
import tw from "tailwind-rn";
@ -56,12 +54,11 @@ const Address = ({
}) => {
const [addressFields, setAddressFields] = useState({});
const [mapAddress, setMapAddress] = useState(null);
const colorScheme = Appearance.getColorScheme();
const navigation = useNavigation();
const profilePage = React.useMemo(() => {
return route.params?.type === "profile";
});
},[route]);
useEffect(() => {
getProvince();

@ -4,10 +4,8 @@ import {
Image,
Text,
Dimensions,
TouchableOpacity,
FlatList,
Pressable,
Appearance,
Platform,
} from "react-native";
import { connect } from "react-redux";
@ -15,6 +13,7 @@ import { useNavigation } from "@react-navigation/native";
//components
import Header from "../components/Header";
import Avatar from "../../../components/Avatar";
//Style
import tw from "tailwind-rn";
@ -121,9 +120,10 @@ const Blog = ({ blog, mobile, theme }) => {
},
]}
>
حامد دژبانی نسب
سر دبیر بخش وبلاگ دانوین
</Text>
</View>
{blog?.duration ? (
<View style={tw("flex-row-reverse items-center")}>
<Text
style={[
@ -141,6 +141,7 @@ const Blog = ({ blog, mobile, theme }) => {
۳۰ دقیقه
</Text>
</View>
) : null}
</View>
</View>
</Pressable>

Loading…
Cancel
Save