|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
3 | 3 | exports[`WalletRecovery render matches snapshot 1`] = ` |
4 | | -<RCTScrollView> |
5 | | - <View> |
6 | | - <View |
7 | | - style={ |
8 | | - { |
9 | | - "flex": 1, |
10 | | - "flexDirection": "column", |
11 | | - "paddingVertical": 8, |
12 | | - "rowGap": 24, |
13 | | - } |
14 | | - } |
15 | | - > |
| 4 | +<RNCSafeAreaView |
| 5 | + edges={ |
| 6 | + { |
| 7 | + "bottom": "additive", |
| 8 | + "left": "off", |
| 9 | + "right": "off", |
| 10 | + "top": "off", |
| 11 | + } |
| 12 | + } |
| 13 | + style={ |
| 14 | + { |
| 15 | + "flex": 1, |
| 16 | + } |
| 17 | + } |
| 18 | +> |
| 19 | + <RCTScrollView> |
| 20 | + <View> |
16 | 21 | <View |
17 | 22 | style={ |
18 | 23 | { |
19 | | - "display": "flex", |
20 | 24 | "flexDirection": "column", |
21 | | - "paddingHorizontal": 16, |
22 | | - "rowGap": 8, |
| 25 | + "paddingVertical": 8, |
| 26 | + "rowGap": 24, |
23 | 27 | } |
24 | 28 | } |
25 | 29 | > |
26 | | - <Text |
27 | | - accessibilityRole="text" |
28 | | - style={ |
29 | | - { |
30 | | - "color": "#686e7d", |
31 | | - "fontFamily": "Geist Medium", |
32 | | - "fontSize": 14, |
33 | | - "letterSpacing": 0, |
34 | | - "lineHeight": 22, |
35 | | - } |
36 | | - } |
37 | | - > |
38 | | - GOOGLE RECOVERY |
39 | | - </Text> |
40 | 30 | <View |
41 | 31 | style={ |
42 | 32 | { |
43 | | - "width": "100%", |
| 33 | + "display": "flex", |
| 34 | + "flexDirection": "column", |
| 35 | + "paddingHorizontal": 16, |
| 36 | + "rowGap": 8, |
44 | 37 | } |
45 | 38 | } |
46 | 39 | > |
47 | | - <View |
| 40 | + <Text |
| 41 | + accessibilityRole="text" |
48 | 42 | style={ |
49 | 43 | { |
50 | | - "alignItems": "center", |
51 | | - "backgroundColor": "#3c4d9d0f", |
52 | | - "borderRadius": 8, |
53 | | - "columnGap": 8, |
54 | | - "flexDirection": "row", |
55 | | - "justifyContent": "flex-start", |
56 | | - "padding": 16, |
| 44 | + "color": "#686e7d", |
| 45 | + "fontFamily": "Geist Medium", |
| 46 | + "fontSize": 14, |
| 47 | + "letterSpacing": 0, |
| 48 | + "lineHeight": 22, |
57 | 49 | } |
58 | 50 | } |
59 | 51 | > |
60 | | - <View |
61 | | - style={ |
62 | | - { |
63 | | - "marginRight": 8, |
64 | | - } |
| 52 | + GOOGLE RECOVERY |
| 53 | + </Text> |
| 54 | + <View |
| 55 | + style={ |
| 56 | + { |
| 57 | + "width": "100%", |
65 | 58 | } |
66 | | - > |
67 | | - <AppleIcon |
68 | | - color="#121314" |
69 | | - fill="currentColor" |
70 | | - height={24} |
71 | | - name="google" |
72 | | - width={24} |
73 | | - /> |
74 | | - </View> |
| 59 | + } |
| 60 | + > |
75 | 61 | <View |
76 | 62 | style={ |
77 | 63 | { |
78 | | - "alignItems": "flex-start", |
79 | | - "display": "flex", |
80 | | - "flexDirection": "column", |
81 | | - "justifyContent": "center", |
| 64 | + "alignItems": "center", |
| 65 | + "backgroundColor": "#3c4d9d0f", |
| 66 | + "borderRadius": 8, |
| 67 | + "columnGap": 8, |
| 68 | + "flexDirection": "row", |
| 69 | + "justifyContent": "flex-start", |
| 70 | + "padding": 16, |
82 | 71 | } |
83 | 72 | } |
84 | 73 | > |
85 | | - <Text |
86 | | - accessibilityRole="text" |
| 74 | + <View |
87 | 75 | style={ |
88 | 76 | { |
89 | | - "color": "#121314", |
90 | | - "fontFamily": "Geist Medium", |
91 | | - "fontSize": 16, |
92 | | - "letterSpacing": 0, |
93 | | - "lineHeight": 24, |
| 77 | + "marginRight": 8, |
94 | 78 | } |
95 | 79 | } |
96 | 80 | > |
97 | | - Enabled |
98 | | - </Text> |
99 | | - <Text |
100 | | - accessibilityRole="text" |
| 81 | + <AppleIcon |
| 82 | + color="#121314" |
| 83 | + fill="currentColor" |
| 84 | + height={24} |
| 85 | + name="google" |
| 86 | + width={24} |
| 87 | + /> |
| 88 | + </View> |
| 89 | + <View |
101 | 90 | style={ |
102 | 91 | { |
103 | | - "color": "#686e7d", |
104 | | - "fontFamily": "Geist Regular", |
105 | | - "fontSize": 14, |
106 | | - "letterSpacing": 0, |
107 | | - "lineHeight": 22, |
108 | | - "width": "100%", |
| 92 | + "alignItems": "flex-start", |
| 93 | + "display": "flex", |
| 94 | + "flexDirection": "column", |
| 95 | + "justifyContent": "center", |
109 | 96 | } |
110 | 97 | } |
111 | 98 | > |
112 | | - t********@example.com |
113 | | - </Text> |
| 99 | + <Text |
| 100 | + accessibilityRole="text" |
| 101 | + style={ |
| 102 | + { |
| 103 | + "color": "#121314", |
| 104 | + "fontFamily": "Geist Medium", |
| 105 | + "fontSize": 16, |
| 106 | + "letterSpacing": 0, |
| 107 | + "lineHeight": 24, |
| 108 | + } |
| 109 | + } |
| 110 | + > |
| 111 | + Enabled |
| 112 | + </Text> |
| 113 | + <Text |
| 114 | + accessibilityRole="text" |
| 115 | + style={ |
| 116 | + { |
| 117 | + "color": "#686e7d", |
| 118 | + "fontFamily": "Geist Regular", |
| 119 | + "fontSize": 14, |
| 120 | + "letterSpacing": 0, |
| 121 | + "lineHeight": 22, |
| 122 | + "width": "100%", |
| 123 | + } |
| 124 | + } |
| 125 | + > |
| 126 | + t********@example.com |
| 127 | + </Text> |
| 128 | + </View> |
114 | 129 | </View> |
115 | 130 | </View> |
116 | | - </View> |
117 | | - <Text |
118 | | - accessibilityRole="text" |
119 | | - style={ |
120 | | - { |
121 | | - "color": "#686e7d", |
122 | | - "fontFamily": "Geist Regular", |
123 | | - "fontSize": 14, |
124 | | - "letterSpacing": 0, |
125 | | - "lineHeight": 22, |
| 131 | + <Text |
| 132 | + accessibilityRole="text" |
| 133 | + style={ |
| 134 | + { |
| 135 | + "color": "#686e7d", |
| 136 | + "fontFamily": "Geist Regular", |
| 137 | + "fontSize": 14, |
| 138 | + "letterSpacing": 0, |
| 139 | + "lineHeight": 22, |
| 140 | + } |
126 | 141 | } |
127 | | - } |
128 | | - > |
129 | | - Use your Google login and MetaMask password to recover your account and secret recovery phrases. |
130 | | - </Text> |
131 | | - </View> |
132 | | - <View |
133 | | - style={ |
134 | | - { |
135 | | - "paddingHorizontal": 16, |
136 | | - } |
137 | | - } |
138 | | - > |
| 142 | + > |
| 143 | + Use your Google login and MetaMask password to recover your account and secret recovery phrases. |
| 144 | + </Text> |
| 145 | + </View> |
139 | 146 | <View |
140 | 147 | style={ |
141 | 148 | { |
142 | | - "backgroundColor": "#b7bbc866", |
143 | | - "height": 1, |
144 | 149 | "paddingHorizontal": 16, |
145 | 150 | } |
146 | 151 | } |
147 | | - /> |
148 | | - </View> |
149 | | - <View |
150 | | - style={ |
151 | | - { |
152 | | - "flexDirection": "column", |
153 | | - "rowGap": 6, |
154 | | - } |
155 | | - } |
156 | | - > |
157 | | - <Text |
158 | | - accessibilityRole="text" |
| 152 | + > |
| 153 | + <View |
| 154 | + style={ |
| 155 | + { |
| 156 | + "backgroundColor": "#b7bbc866", |
| 157 | + "height": 1, |
| 158 | + "paddingHorizontal": 16, |
| 159 | + } |
| 160 | + } |
| 161 | + /> |
| 162 | + </View> |
| 163 | + <View |
159 | 164 | style={ |
160 | 165 | { |
161 | | - "color": "#686e7d", |
162 | | - "fontFamily": "Geist Medium", |
163 | | - "fontSize": 14, |
164 | | - "letterSpacing": 0, |
165 | | - "lineHeight": 22, |
166 | | - "paddingHorizontal": 16, |
| 166 | + "flexDirection": "column", |
| 167 | + "rowGap": 6, |
167 | 168 | } |
168 | 169 | } |
169 | 170 | > |
170 | | - SECRET RECOVERY PHRASES |
171 | | - </Text> |
172 | | - <View |
173 | | - testID="select-srp" |
174 | | - > |
175 | | - <Text> |
176 | | - SelectSRP Component |
| 171 | + <Text |
| 172 | + accessibilityRole="text" |
| 173 | + style={ |
| 174 | + { |
| 175 | + "color": "#686e7d", |
| 176 | + "fontFamily": "Geist Medium", |
| 177 | + "fontSize": 14, |
| 178 | + "letterSpacing": 0, |
| 179 | + "lineHeight": 22, |
| 180 | + "paddingHorizontal": 16, |
| 181 | + } |
| 182 | + } |
| 183 | + > |
| 184 | + SECRET RECOVERY PHRASES |
177 | 185 | </Text> |
| 186 | + <View |
| 187 | + testID="select-srp" |
| 188 | + > |
| 189 | + <Text> |
| 190 | + SelectSRP Component |
| 191 | + </Text> |
| 192 | + </View> |
178 | 193 | </View> |
179 | 194 | </View> |
180 | 195 | </View> |
181 | | - </View> |
182 | | -</RCTScrollView> |
| 196 | + </RCTScrollView> |
| 197 | +</RNCSafeAreaView> |
183 | 198 | `; |
0 commit comments