diff --git a/App.js b/App.js
index 65efaad..799526f 100644
--- a/App.js
+++ b/App.js
@@ -18,7 +18,7 @@ import * as Notifications from 'expo-notifications';
import API from './API.js';
import i18n from "./i18nMessages.js";
import NewPostView from './Views/NewPost.js';
-import { TouchableOpacity, View, Image } from 'react-native';
+import { TouchableOpacity, View, Image, KeyboardAvoidingView } from 'react-native';
import MenuView from './Views/Menu.js';
import ProfileSettings from './Views/ProfileSettings.js';
import InviteView from './Views/Invite.js';
@@ -245,6 +245,7 @@ export default function App() {
,
}} theme={theme}>
+
+
);
}
diff --git a/Views/Login.js b/Views/Login.js
index e0160a3..d13d40f 100644
--- a/Views/Login.js
+++ b/Views/Login.js
@@ -4,29 +4,29 @@ import { StyleSheet, Text, View, TextInput, SafeAreaView } from 'react-native';
import API from './../API.js';
import LoginForm from './../components/Login.js';
-export default function App({navigation, route}) {
- useEffect(()=>{
+export default function App({ navigation, route }) {
+ useEffect(() => {
getData = async () => {
let r = await API.isLoggedIn();
- if(r){
+ if (r) {
await API.logout();
navigation.navigate('Login')
}
}
getData();
- return ()=>{
-
+ return () => {
+
}
}, []);
return (
-
-
-
-
- {"<- Not an EMI family memeber?"}
-
-
+
+
+
+
+ {"<- Not an EMI family memeber?"}
+
+
);
}
diff --git a/Views/NewPost.js b/Views/NewPost.js
index b9f8162..b7ed8c2 100644
--- a/Views/NewPost.js
+++ b/Views/NewPost.js
@@ -102,8 +102,7 @@ let NewPostView = (props) => {
}
return (
-
-
+
{i18n.t("message.statusUpdate")}:
-
)
}