From 26c032c6fbb7717a87d2493535d0c4eda640c52e Mon Sep 17 00:00:00 2001 From: kake26 Date: Tue, 22 Feb 2022 16:17:00 +0100 Subject: [PATCH] Delete 'src/screens/HomeScreen.js.old' removing per notes in issue #3 --- src/screens/HomeScreen.js.old | 74 ----------------------------------- 1 file changed, 74 deletions(-) delete mode 100755 src/screens/HomeScreen.js.old diff --git a/src/screens/HomeScreen.js.old b/src/screens/HomeScreen.js.old deleted file mode 100755 index b93cc77..0000000 --- a/src/screens/HomeScreen.js.old +++ /dev/null @@ -1,74 +0,0 @@ -import React from 'react'; -import { - Button, -} from 'react-native-elements'; -import { - View, - Text, -} from 'react-native'; -// play,pause,stop icons -import { AntDesign } from '@expo/vector-icons'; -import { MaterialCommunityIcons } from '@expo/vector-icons'; -import axios from 'axios'; // Took a while to figure out how to use it, but its simpler then the - -function bp(name) { -// Button press handler important -axios.get('http://192.168.1.158:8080/'+name) -.then(res => { - // We don't care fore now -}) -} - -class HomeScreen extends React.Component { - static navigationOptions = ({ navigation }) => { - return { - title: navigation.getParam('otherParam', 'RPI Media Center Control'), - headerStyle: { - backgroundColor: '#3333ff', - }, - headerTintColor: '#fff', - }; - }; - - render() { - return ( - - - Controls - -