Typos, iOS player and reset password
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { View, TextInput, Image } from "react-native";
|
||||
import { View, TextInput, Image, ScrollView } from "react-native";
|
||||
import { Text, Button, Divider } from "react-native-paper";
|
||||
import { SafeAreaView } from "react-native-safe-area-context";
|
||||
import API from './../API.js';
|
||||
@@ -96,13 +96,14 @@ let NewPostView = (props) => {
|
||||
API.newPost(postContent + " " + extraContent.join(" "), props.route.params?.toProfile).then((newPost) => {
|
||||
setPostContent('');
|
||||
setExtraContent([]);
|
||||
navigation.navigate('Feed', {reRender: Math.random()});
|
||||
navigation.navigate('Feed', { reRender: Math.random() });
|
||||
//if (newPostCB) newPostCB(newPost);
|
||||
});
|
||||
}
|
||||
|
||||
return (
|
||||
<View style={{ padding: 10, paddingTop: 20, flex:1, justifyContent:"center"}}>
|
||||
<ScrollView>
|
||||
<View style={{ padding: 10, paddingTop: 20, flex: 1, justifyContent: "center" }}>
|
||||
<View style={{ flexDirection: "row", marginBottom: 10, justifyContent: "space-around" }}>
|
||||
<Text style={{ fontSize: 25 }}>{i18n.t("message.statusUpdate")}:</Text>
|
||||
<Button icon="send" mode="outlined" onPress={handleNewPostButton}>
|
||||
@@ -151,6 +152,7 @@ let NewPostView = (props) => {
|
||||
)
|
||||
}
|
||||
</View>
|
||||
</ScrollView>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user