diff --git a/js/components/App.js b/js/components/App.js
index e846c15..6afb6e2 100644
--- a/js/components/App.js
+++ b/js/components/App.js
@@ -31,7 +31,7 @@ const scenes = Actions.create(
-
+
);
diff --git a/js/components/shared/Profile.js b/js/components/shared/Profile.js
index ec3d413..0e6a9d9 100644
--- a/js/components/shared/Profile.js
+++ b/js/components/shared/Profile.js
@@ -36,6 +36,7 @@ const styles = StyleSheet.create({
justifyContent: 'flex-start',
alignItems: 'flex-start',
padding: 10,
+ marginTop: -20,
},
containerKoins: {
flexDirection: 'column',
@@ -117,7 +118,7 @@ const Profile = React.createClass({
},
render() {
- let name, userName, oauthProvider, solveCount, collectedKoins, ranking; // eslint-disable-line one-var, max-len
+ let name, userName, picUrl, oauthProvider, solveCount, collectedKoins, ranking; // eslint-disable-line one-var, max-len
if (this.state.user === null) {
name = '';
userName = '';
@@ -128,6 +129,7 @@ const Profile = React.createClass({
} else {
name = (this.state.user.name === null) ? '' : this.state.user.name;
userName = this.state.user.userName;
+ picUrl = this.state.user.picUrl;
oauthProvider = (this.state.user.oauthProvider === null) ? '' : this.state.user.oauthProvider;
solveCount = this.state.user.solveCount;
collectedKoins = `${this.state.user.koinCount} ${I18n.t('profile_content_koins_title')}`;
@@ -169,17 +171,17 @@ const Profile = React.createClass({
{I18n.t('profile_content_username')}
{userName}
{oauthProviderInfo}
- {logoutButton}
{I18n.t('profile_content_fixes')}
{solveCount}
+ {logoutButton}
{I18n.t('profile_content_koins_header')}