Update logo and a few other tweaks

This commit is contained in:
Chris Bianca
2018-03-31 09:24:10 +01:00
parent d87b7d4b5e
commit aed4760445
3 changed files with 8 additions and 4 deletions

11
App.js
View File

@@ -1,5 +1,5 @@
import React from 'react';
import { StyleSheet, Platform, Image, Text, View } from 'react-native';
import { StyleSheet, Platform, Image, Text, View, ScrollView } from 'react-native';
import firebase from 'react-native-firebase';
@@ -17,8 +17,9 @@ export default class App extends React.Component {
render() {
return (
<View style={styles.container}>
<Image source={require('./assets/RNFirebase512x512.png')} style={[styles.logo]} />
<ScrollView>
<View style={styles.container}>
<Image source={require('./assets/RNFirebase.png')} style={[styles.logo]} />
<Text style={styles.welcome}>
Welcome to the React Native{'\n'}Firebase starter project!
</Text>
@@ -52,7 +53,8 @@ export default class App extends React.Component {
{firebase.config.nativeModuleExists && <Text style={styles.module}>Remote Config</Text>}
{firebase.storage.nativeModuleExists && <Text style={styles.module}>Storage</Text>}
</View>
</View>
</View>
</ScrollView>
);
}
}
@@ -67,6 +69,7 @@ const styles = StyleSheet.create({
logo: {
height: 80,
marginBottom: 16,
marginTop: 32,
width: 80,
},
welcome: {

View File

@@ -160,6 +160,7 @@ dependencies {
implementation "com.google.firebase:firebase-auth:12.0.1"
implementation "com.google.firebase:firebase-config:12.0.1"
implementation "com.google.firebase:firebase-database:12.0.1"
implementation "com.google.firebase:firebase-invites:12.0.1"
implementation "com.google.firebase:firebase-firestore:12.0.1"
implementation "com.google.firebase:firebase-messaging:12.0.1"
implementation "com.google.firebase:firebase-perf:12.0.1"

BIN
assets/RNFirebase.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB