fix compile errors

This commit is contained in:
Bart Akeley 2020-04-04 22:28:33 -05:00
parent 8fba0e00ec
commit 472da5fb77
4 changed files with 6 additions and 29 deletions

View file

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -1,3 +1,3 @@
<resources>
<string name="app_name">My Application</string>
<string name="app_name">Where\'s the TP?</string>
</resources>

View file

@ -1,7 +1,7 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- NoActionBar is needed to delete the default top title bar above our top bar -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>

View file

@ -1,7 +1,6 @@
// @flow
import React from 'react';
import { View, Text } from 'react-native';
import wttpImage from '../imgs/toilet-paper-solid.png';
import { View, Text, Image } from 'react-native';
import wttpImage from '../../static/toilet-paper-solid.png';
import { Link } from 'react-router-native';
import RouterButton from 'react-router-native-button';
import { compose, withHandlers, withState } from 'recompose';
@ -36,11 +35,7 @@ const LandingPage = ({ skipIfAlreadyChosen, loading }: Props) => {
flex: 1,
height: '100%',
}}>
{ <Image
source={wttpImage}
style={{ height: 320, marginBottom: 10 }}
resizeMode="contain"
/> }
<Image source={wttpImage} style={{ height: 320, marginBottom: 10 }} resizeMode="contain" />
<Text style={{ fontSize: 24, marginBottom: 30, textAlign: 'center', width: 330 }}>
We need to use your location to bring you the best experience possible.
</Text>