Kaynağa Gözat

Cleaned up path to different files

ErnestoOrtiz2 2 yıl önce
ebeveyn
işleme
1a6fac9532

+ 15
- 0
package-lock.json Dosyayı Görüntüle

@@ -22,6 +22,7 @@
22 22
         "react-native-multi-selectbox": "^1.5.0",
23 23
         "react-native-paper": "^4.9.2",
24 24
         "react-native-safe-area-context": "3.2.0",
25
+        "react-native-sectioned-multi-select": "^0.8.1",
25 26
         "react-native-web": "~0.13.12",
26 27
         "react-redux": "^7.2.5",
27 28
         "redux": "^4.1.1",
@@ -10204,6 +10205,14 @@
10204 10205
         "react-native": "*"
10205 10206
       }
10206 10207
     },
10208
+    "node_modules/react-native-sectioned-multi-select": {
10209
+      "version": "0.8.1",
10210
+      "resolved": "https://registry.npmjs.org/react-native-sectioned-multi-select/-/react-native-sectioned-multi-select-0.8.1.tgz",
10211
+      "integrity": "sha512-iH/5PHBo64yFhKzjd+6sCG0aEvgDnUwpn3I7R0ohcGo/+gJdw47mYmJMTwJTmR9JqBFXHx+2bkQi4ij2ghfqRQ==",
10212
+      "peerDependencies": {
10213
+        "prop-types": "^15.6.0"
10214
+      }
10215
+    },
10207 10216
     "node_modules/react-native-svg": {
10208 10217
       "version": "12.1.1",
10209 10218
       "resolved": "https://registry.npmjs.org/react-native-svg/-/react-native-svg-12.1.1.tgz",
@@ -21173,6 +21182,12 @@
21173 21182
         "warn-once": "^0.1.0"
21174 21183
       }
21175 21184
     },
21185
+    "react-native-sectioned-multi-select": {
21186
+      "version": "0.8.1",
21187
+      "resolved": "https://registry.npmjs.org/react-native-sectioned-multi-select/-/react-native-sectioned-multi-select-0.8.1.tgz",
21188
+      "integrity": "sha512-iH/5PHBo64yFhKzjd+6sCG0aEvgDnUwpn3I7R0ohcGo/+gJdw47mYmJMTwJTmR9JqBFXHx+2bkQi4ij2ghfqRQ==",
21189
+      "requires": {}
21190
+    },
21176 21191
     "react-native-svg": {
21177 21192
       "version": "12.1.1",
21178 21193
       "resolved": "https://registry.npmjs.org/react-native-svg/-/react-native-svg-12.1.1.tgz",

+ 5
- 4
package.json Dosyayı Görüntüle

@@ -13,6 +13,8 @@
13 13
     "@react-navigation/native": "^6.0.4",
14 14
     "@react-navigation/stack": "^6.0.9",
15 15
     "expo": "~42.0.1",
16
+    "expo-constants": "~11.0.1",
17
+    "expo-notifications": "~0.12.3",
16 18
     "expo-status-bar": "~1.0.4",
17 19
     "firebase": "8.2.3",
18 20
     "react": "16.13.1",
@@ -22,13 +24,12 @@
22 24
     "react-native-gifted-chat": "^0.16.3",
23 25
     "react-native-multi-selectbox": "^1.5.0",
24 26
     "react-native-paper": "^4.9.2",
27
+    "react-native-safe-area-context": "3.2.0",
28
+    "react-native-sectioned-multi-select": "^0.8.1",
25 29
     "react-native-web": "~0.13.12",
26 30
     "react-redux": "^7.2.5",
27 31
     "redux": "^4.1.1",
28
-    "redux-thunk": "^2.3.0",
29
-    "react-native-safe-area-context": "3.2.0",
30
-    "expo-notifications": "~0.12.3",
31
-    "expo-constants": "~11.0.1"
32
+    "redux-thunk": "^2.3.0"
32 33
   },
33 34
   "devDependencies": {
34 35
     "@babel/core": "^7.9.0"

+ 3
- 3
screens/AvailabilityScreen.js Dosyayı Görüntüle

@@ -8,9 +8,9 @@ import Icon from 'react-native-vector-icons/MaterialIcons';
8 8
 import { connect } from 'react-redux';
9 9
 import { bindActionCreators } from 'redux';
10 10
 
11
-import { fetchUser } from "../../redux/actions";
12
-import { styles } from "../../config/styles";
13
-import { availability } from "../../config/availability";
11
+import { fetchUser } from "../redux/actions";
12
+import { styles } from "../config/styles";
13
+import { availability } from "../config/availability";
14 14
 
15 15
 export class AvailabilityScreen extends Component {
16 16
     constructor(props) {

+ 3
- 3
screens/auth/RegisterScreen.js Dosyayı Görüntüle

@@ -3,8 +3,8 @@ import { TextInput, TouchableWithoutFeedback, Keyboard, ImageBackground, Text }
3 3
 import firebase from "firebase";
4 4
 import { Picker } from "@react-native-picker/picker";
5 5
 
6
-import { styles } from "../config/styles";
7
-import CustomButton from "../components/CustomButton";
6
+import { styles } from "../../config/styles";
7
+import CustomButton from "../../components/CustomButton";
8 8
 
9 9
 export default class RegisterScreen extends Component {
10 10
     constructor(props) {
@@ -51,7 +51,7 @@ export default class RegisterScreen extends Component {
51 51
     render() {
52 52
         return (
53 53
             <TouchableWithoutFeedback style={styles.regcontainer} onPress={Keyboard.dismiss} accessible={false}>
54
-                <ImageBackground style={styles.regcontainer} source={require('../assets/yellow-white.jpg')}>
54
+                <ImageBackground style={styles.regcontainer} source={require('../../assets/yellow-white.jpg')}>
55 55
                     <TextInput style={styles.regtxtfield} placeholder="Userame" onChangeText={(username) => this.setState({ username })}/>
56 56
                     <TextInput style={styles.regtxtfield} placeholder="Email" onChangeText={(email) => this.setState({ email })}/>
57 57
                     <TextInput style={styles.regtxtfield} placeholder="Password" onChangeText={(password) => this.setState({ password })} secureTextEntry={ true }/>