@@ -2,22 +2,21 @@ import {View, StyleSheet, Dimensions, TouchableHighlight, ScrollView} from "reac
2
2
import { Component } from "react" ;
3
3
import { StatusBar } from "expo-status-bar" ;
4
4
import { Text } from "../components/Themed" ;
5
- import ModalShareThingy from "../util/ModalShareThingy" ;
6
5
import AsyncStorage from "@react-native-async-storage/async-storage" ;
7
6
8
7
export default class FirstLoadModal extends Component < any > {
9
8
10
9
render ( ) {
11
10
return (
12
- < View style = { styles . container } >
13
- < StatusBar style = "light" / >
14
- < Text style = { styles . header } >
15
- Welcome to AnonyMail!
16
- </ Text >
17
- < Text style = { styles . info } >
18
- Using this app, you can generate anonymous email addresses!
19
- </ Text >
20
- < ScrollView persistentScrollbar = { true } >
11
+ < ScrollView persistentScrollbar = { true } >
12
+ < View style = { styles . container } >
13
+ < StatusBar style = "light" / >
14
+ < Text style = { styles . header } >
15
+ Welcome to AnonyMail!
16
+ </ Text >
17
+ < Text style = { styles . info } >
18
+ Using this app, you can generate anonymous email addresses!
19
+ </ Text >
21
20
< Text style = { styles . question } >
22
21
What is the purpose of generating temporary emails?
23
22
</ Text >
@@ -37,18 +36,18 @@ export default class FirstLoadModal extends Component<any> {
37
36
Once emails are sent to you, they are deleted from our servers. No-one can have
38
37
an email address that has already been generated.
39
38
</ Text >
40
- </ ScrollView >
41
- < TouchableHighlight
42
- onPress = { async ( event ) => {
43
- await AsyncStorage . setItem ( "@lecture_1" , "true" ) ;
44
- this . props . navigation . goBack ( ) ;
45
- } }
46
- >
47
- < View style = { styles . start_view } >
48
- < Text style = { styles . start } > Tap to generate your first email address! </ Text >
49
- </ View >
50
- </ TouchableHighlight >
51
- </ View >
39
+ < TouchableHighlight
40
+ onPress = { async ( event ) => {
41
+ await AsyncStorage . setItem ( "@lecture_1" , "true" ) ;
42
+ this . props . navigation . goBack ( ) ;
43
+ } }
44
+ >
45
+ < View style = { styles . start_view } >
46
+ < Text style = { styles . start } > Tap to generate your first email address! </ Text >
47
+ </ View >
48
+ </ TouchableHighlight >
49
+ </ View >
50
+ </ ScrollView >
52
51
) ;
53
52
}
54
53
0 commit comments