Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
moved docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperonfire committed Dec 11, 2017
1 parent 05a0520 commit f160148
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions PlacesApp/JS/AddPlace.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { Text, View, FlatList, StyleSheet, TextInput, Button, Image, AsyncStorage } from 'react-native';
import { Text, View, FlatList, StyleSheet, TextInput, Button, Image, AsyncStorage, Alert } from 'react-native';
import { readAsStringAsync } from "expo/src/FileSystem";
const URL = require("../package.json").serverURL;
class AddPlace extends React.Component {
Expand All @@ -17,7 +17,7 @@ class AddPlace extends React.Component {
gpsLong: 0,
placeDesc: "",
placeImg: "https://loremflickr.com/300/300/city",
user: "user"
user: ""
};
}

Expand Down Expand Up @@ -74,6 +74,10 @@ class AddPlace extends React.Component {
.then(response => response.json())
.then(responseJson => {
return responseJson;
Alert.alert(
"Place created!",
"Place added to database"
)
})
.catch(error => {
console.log("error");
Expand Down
File renamed without changes.
File renamed without changes.
Binary file removed docs/~$andup_meeting_21_11_2017.docx
Binary file not shown.

0 comments on commit f160148

Please sign in to comment.