From 486b215768f4fa27c193182249fe94eadc80429a Mon Sep 17 00:00:00 2001 From: "Andre Novais Emiliano (novaisea)" <novaisea@coventry.ac.uk> Date: Thu, 8 Apr 2021 17:15:14 +0100 Subject: [PATCH] Added author to the info screen --- app.json | 2 +- components/AboutScreen.js | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app.json b/app.json index fcb6302..7e336e2 100644 --- a/app.json +++ b/app.json @@ -28,6 +28,6 @@ "web": { "favicon": "./assets/favicon.png" }, - "description": "Final Apps" + "description": "" } } diff --git a/components/AboutScreen.js b/components/AboutScreen.js index a3bbd07..4dd1789 100644 --- a/components/AboutScreen.js +++ b/components/AboutScreen.js @@ -10,8 +10,8 @@ export default class Aboutscreen extends Component { <Header backgroundColor ="none" placement="center" - centerComponent={{ text: 'Info', style: {fontSize: 18, fontWeight: "bold"} }}/> - <View style={{ justifyContent: 'flex-start'}}> + centerComponent={{ text: "Info", style: {fontSize: 18, fontWeight: "bold"} }}/> + <View style={{ justifyContent: "flex-start"}}> <Text>This is the React Native application that makes part of a research between native and React Native development, to understand the advantages and disavantages and performance of each. There are 3 repositores with a similar app (Swift, Kotlin and React Native). {"\n"}</Text> <Text>Kotlin Repo -</Text><Text style ={{color: "blue"}} onPress={() => Linking.openURL('https://github.coventry.ac.uk/novaisea/KotlinApp-6001CEM.git')}>https://github.coventry.ac.uk/novaisea/SwiftApp-6001CEM.git {"\n"}</Text> @@ -22,6 +22,9 @@ export default class Aboutscreen extends Component { <View style={{justifyContent: "center"}}> <Button title="Info about the app" onPress={ ()=>{ alert('This application uses buttons, images, labels, scrollViews and other basic functionalities for a comparison between native and React Native development as part of the final year dissertation.')}} /> </View> + <View style={{justifyContent: "flex-end", alignItems: "center"}}> + <Text>Author: Andre Emiliano</Text> + </View> </View> )