Quellcode durchsuchen

Texto para indicar que hacer con los botones

gilberto.cancel vor 2 Jahren
Ursprung
Commit
08da3700ce
1 geänderte Dateien mit 2 neuen und 4 gelöschten Zeilen
  1. 2
    4
      screens/main/StateTime.js

+ 2
- 4
screens/main/StateTime.js Datei anzeigen

@@ -205,6 +205,7 @@ export default class Time extends Component{
205 205
     return(
206 206
       <TouchableWithoutFeedback style={styles.stdcontainer}>
207 207
         <ImageBackground style={styles.regcontainer} source={require('../../assets/yellow-white.jpg')}>
208
+          <Text style={styles.time_text}> Select the Start and End Time for the Appointment </Text>
208 209
         <Button style={styles.cenregbutton} title="8:00am" onPress={() => this.time_set(1,)}/>
209 210
         <Button style={styles.cenregbutton} title="9:00am" onPress={() => this.time_set(2,)}/>
210 211
         <Button style={styles.cenregbutton} title="10:00am" onPress={() => this.time_set(3,)}/>
@@ -212,11 +213,8 @@ export default class Time extends Component{
212 213
         <Button style={styles.cenregbutton} title="12:00pm" onPress={() => this.time_set(5,)}/>
213 214
         <Button style={styles.cenregbutton} title="1:00pm" onPress={() => this.time_set(6,)}/>
214 215
         <Button style={styles.cenregbutton} title="2:00pm" onPress={() => this.time_set(7,)}/>
215
-        <Button style={styles.cenregbutton} title="Request Appointment" onPress={() => this.time_assignment()}/>
216
+        <Button style={styles.regbutton} title="Request Appointment" onPress={() => this.time_assignment()}/>
216 217
         </ImageBackground>
217 218
       </TouchableWithoutFeedback>
218 219
     );
219
-  }
220
-}
221
-
222 220