Unmount Title component only when related child component is destroyed Currently TopBar title component, background and buttons are unmounted when a new screen is pushed to the stack. This causes a bug when props are passed to these components as props are cleared when child components unmount. This commit fixes this bug for title components.
|
||
162 | 162 |
|
163 | 163 |
|
164 | 164 |
|
165 |
|
|
166 | 165 |
|
167 | 166 |
|
168 | 167 |
|
169 | 168 |
|
170 |
|
|
171 |
|
|
169 |
|
|
172 | 170 |
|
173 | 171 |
|
174 | 172 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
|
|
5 | 4 |
|
6 | 5 |
|
6 |
|
|
7 |
|
|
8 |
|
|
7 | 9 |
|
8 | 10 |
|
9 | 11 |
|
12 |
|
|
10 | 13 |
|
11 | 14 |
|
12 | 15 |
|
|
||
17 | 20 |
|
18 | 21 |
|
19 | 22 |
|
23 |
|
|
20 | 24 |
|
25 |
|
|
21 | 26 |
|
22 | 27 |
|
23 | 28 |
|
29 |
|
|
24 | 30 |
|
31 |
|
|
25 | 32 |
|
26 | 33 |
|
27 | 34 |
|
|
||
30 | 37 |
|
31 | 38 |
|
32 | 39 |
|
40 |
|
|
33 | 41 |
|
34 | 42 |
|
43 |
|
|
35 | 44 |
|
45 |
|
|
36 | 46 |
|
37 |
|
|
38 |
|
|
39 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
40 | 50 |
|
51 |
|
|
52 |
|
|
41 | 53 |
|
42 | 54 |
|
43 | 55 |
|
|
||
78 | 90 |
|
79 | 91 |
|
80 | 92 |
|
93 |
|
|
94 |
|
|
95 |
|
|
96 |
|
|
97 |
|
|
98 |
|
|
99 |
|
|
81 | 100 |
|
82 | 101 |
|
83 | 102 |
|
84 | 103 |
|
85 | 104 |
|
86 | 105 |
|
87 |
|
|
106 |
|
|
107 |
|
|
108 |
|
|
109 |
|
|
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
|
115 |
|
|
116 |
|
|
117 |
|
|
118 |
|
|
88 | 119 |
|
89 | 120 |
|
90 | 121 |
|
|
||
210 | 241 |
|
211 | 242 |
|
212 | 243 |
|
213 |
|
|
244 |
|
|
245 |
|
|
246 |
|
|
247 |
|
|
248 |
|
|
249 |
|
|
250 |
|
|
251 |
|
|
252 |
|
|
253 |
|
|
254 |
|
|
255 |
|
|
256 |
|
|
214 | 257 |
|
215 | 258 |
|
216 | 259 |
|
|
||
262 | 305 |
|
263 | 306 |
|
264 | 307 |
|
308 |
|
|
309 |
|
|
310 |
|
|
311 |
|
|
312 |
|
|
313 |
|
|
314 |
|
|
315 |
|
|
316 |
|
|
265 | 317 |
|
|
||
63 | 63 |
|
64 | 64 |
|
65 | 65 |
|
66 |
|
|
66 |
|
|
67 | 67 |
|
68 | 68 |
|
69 | 69 |
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
|
74 |
|
|
75 |
|
|
70 | 76 |
|
71 | 77 |
|
72 | 78 |
|
|
||
117 | 117 |
|
118 | 118 |
|
119 | 119 |
|
120 |
|
|
120 |
|
|
121 | 121 |
|
122 | 122 |
|
123 | 123 |
|
|
||
133 | 133 |
|
134 | 134 |
|
135 | 135 |
|
136 |
|
|
137 |
|
|
138 |
|
|
139 |
|
|
136 | 140 |
|
|
||
64 | 64 |
|
65 | 65 |
|
66 | 66 |
|
67 |
|
|
67 |
|
|
68 | 68 |
|
69 | 69 |
|
70 | 70 |
|
|
||
73 | 73 |
|
74 | 74 |
|
75 | 75 |
|
76 |
|
|
76 |
|
|
77 | 77 |
|
78 | 78 |
|
79 | 79 |
|
|
||
118 | 118 |
|
119 | 119 |
|
120 | 120 |
|
121 |
|
|
121 |
|
|
122 | 122 |
|
123 | 123 |
|
124 | 124 |
|
|
||
193 | 193 |
|
194 | 194 |
|
195 | 195 |
|
196 |
|
|
196 |
|
|
197 | 197 |
|
198 | 198 |
|
199 | 199 |
|
|
||
234 | 234 |
|
235 | 235 |
|
236 | 236 |
|
237 |
|
|
238 |
|
|
239 |
|
|
240 |
|
|
237 | 241 |
|
238 | 242 |
|
239 | 243 |
|
|
||
84 | 84 |
|
85 | 85 |
|
86 | 86 |
|
87 |
|
|
87 |
|
|
88 | 88 |
|
89 | 89 |
|
90 | 90 |
|
|
||
94 | 94 |
|
95 | 95 |
|
96 | 96 |
|
97 |
|
|
97 |
|
|
98 | 98 |
|
99 | 99 |
|
100 | 100 |
|
|
||
26 | 26 |
|
27 | 27 |
|
28 | 28 |
|
29 |
|
|
30 | 29 |
|
31 | 30 |
|
32 | 31 |
|
|
||
40 | 39 |
|
41 | 40 |
|
42 | 41 |
|
43 |
|
|
44 | 42 |
|
45 | 43 |
|
46 | 44 |
|
47 | 45 |
|
48 | 46 |
|
49 |
|
|
47 |
|
|
50 | 48 |
|
51 | 49 |
|
52 | 50 |
|
53 |
|
|
54 | 51 |
|
55 | 52 |
|
56 | 53 |
|
|
||
79 | 76 |
|
80 | 77 |
|
81 | 78 |
|
82 |
|
|
79 |
|
|
83 | 80 |
|
84 | 81 |
|
85 | 82 |
|
|
||
99 | 96 |
|
100 | 97 |
|
101 | 98 |
|
102 |
|
|
99 |
|
|
103 | 100 |
|
104 | 101 |
|
105 | 102 |
|
|
||
124 | 121 |
|
125 | 122 |
|
126 | 123 |
|
124 |
|
|
125 |
|
|
126 |
|
|
127 |
|
|
128 |
|
|
129 |
|
|
127 | 130 |
|
128 | 131 |
|
129 | 132 |
|
|
||
296 | 299 |
|
297 | 300 |
|
298 | 301 |
|
299 |
|
|
300 | 302 |
|
301 | 303 |
|
302 | 304 |
|
|
||
12 | 12 |
|
13 | 13 |
|
14 | 14 |
|
15 |
|
|
16 | 15 |
|
17 | 16 |
|
18 | 17 |
|
|
||
21 | 20 |
|
22 | 21 |
|
23 | 22 |
|
24 |
|
|
25 | 23 |
|
26 | 24 |
|
27 | 25 |
|
|
||
43 | 41 |
|
44 | 42 |
|
45 | 43 |
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 | 44 |
|
52 | 45 |
|
53 | 46 |
|
|
||
63 | 56 |
|
64 | 57 |
|
65 | 58 |
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
|
|
71 | 59 |
|
72 | 60 |
|
73 | 61 |
|
|
||
103 | 91 |
|
104 | 92 |
|
105 | 93 |
|
106 |
|
|
107 | 94 |
|
108 | 95 |
|
109 | 96 |
|
|
||
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
12 |
|
|
13 | 12 |
|
14 | 13 |
|
15 | 14 |
|
16 | 15 |
|
17 | 16 |
|
18 | 17 |
|
19 |
|
|
18 |
|
|
20 | 19 |
|
21 |
|
|
20 |
|
|
22 | 21 |
|
23 | 22 |
|
24 | 23 |
|
25 | 24 |
|
26 | 25 |
|
27 |
|
|
28 |
|
|
26 |
|
|
27 |
|
|
29 | 28 |
|
30 | 29 |
|
31 | 30 |
|
|
||
60 | 60 |
|
61 | 61 |
|
62 | 62 |
|
63 |
|
|
63 |
|
|
64 | 64 |
|
65 | 65 |
|
66 | 66 |
|
|
||
73 | 73 |
|
74 | 74 |
|
75 | 75 |
|
76 |
|
|
76 |
|
|
77 | 77 |
|
78 | 78 |
|
79 | 79 |
|
|
||
90 | 90 |
|
91 | 91 |
|
92 | 92 |
|
93 |
|
|
93 |
|
|
94 | 94 |
|
95 | 95 |
|
96 | 96 |
|
97 | 97 |
|
98 | 98 |
|
99 |
|
|
99 |
|
|
100 | 100 |
|
101 | 101 |
|
102 | 102 |
|
|
||
8 | 8 |
|
9 | 9 |
|
10 | 10 |
|
11 |
|
|
12 | 11 |
|
13 | 12 |
|
14 | 13 |
|
|
||
18 | 17 |
|
19 | 18 |
|
20 | 19 |
|
21 |
|
|
20 |
|
|
22 | 21 |
|
23 | 22 |
|
24 |
|
|
23 |
|
|
25 | 24 |
|
26 | 25 |
|
27 | 26 |
|
28 |
|
|
29 |
|
|
27 |
|
|
28 |
|
|
30 | 29 |
|
31 | 30 |
|
32 | 31 |
|
|
||
6 | 6 |
|
7 | 7 |
|
8 | 8 |
|
9 |
|
|
9 |
|
|
10 | 10 |
|
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
14 | 14 |
|
15 |
|
|
16 | 15 |
|
17 | 16 |
|
18 | 17 |
|
|
||
20 | 19 |
|
21 | 20 |
|
22 | 21 |
|
23 |
|
|
24 | 22 |
|
25 | 23 |
|
26 | 24 |
|
|
||
29 | 27 |
|
30 | 28 |
|
31 | 29 |
|
32 |
|
|
33 |
|
|
34 | 30 |
|
35 | 31 |
|
32 |
|
|
33 |
|
|
36 | 34 |
|
37 |
|
|
38 |
|
|
39 | 35 |
|
40 | 36 |
|
41 | 37 |
|
42 | 38 |
|
39 |
|
|
43 | 40 |
|
44 |
|
|
41 |
|
|
45 | 42 |
|
46 | 43 |
|
47 |
|
|
48 | 44 |
|
49 |
|
|
50 | 45 |
|
51 | 46 |
|
52 | 47 |
|
|
||
66 | 61 |
|
67 | 62 |
|
68 | 63 |
|
69 |
|
|
64 |
|
|
70 | 65 |
|
71 | 66 |
|
72 |
|
|
73 |
|
|
67 |
|
|
68 |
|
|
74 | 69 |
|
75 | 70 |
|
76 | 71 |
|
|
||
116 | 111 |
|
117 | 112 |
|
118 | 113 |
|
119 |
|
|
114 |
|
|
120 | 115 |
|
121 | 116 |
|
122 | 117 |
|
|
||
150 | 145 |
|
151 | 146 |
|
152 | 147 |
|
153 |
|
|
154 |
|
|
148 |
|
|
149 |
|
|
150 |
|
|
151 |
|
|
155 | 152 |
|
156 | 153 |
|
157 | 154 |
|
|
||
213 | 210 |
|
214 | 211 |
|
215 | 212 |
|
216 |
|
|
217 |
|
|
218 |
|
|
219 |
|
|
220 |
|
|
221 |
|
|
222 |
|
|
223 |
|
|
224 | 213 |
|
225 | 214 |
|
226 | 215 |
|
|
||
39 | 39 |
|
40 | 40 |
|
41 | 41 |
|
42 |
|
|
43 | 42 |
|
44 | 43 |
|
45 | 44 |
|
|
||
58 | 57 |
|
59 | 58 |
|
60 | 59 |
|
61 |
|
|
60 |
|
|
62 | 61 |
|
63 | 62 |
|
64 | 63 |
|
|
||
66 | 65 |
|
67 | 66 |
|
68 | 67 |
|
69 |
|
|
68 |
|
|
70 | 69 |
|
71 | 70 |
|
72 |
|
|
71 |
|
|
73 | 72 |
|
74 |
|
|
73 |
|
|
75 | 74 |
|
76 | 75 |
|
77 | 76 |
|
|
||
111 | 110 |
|
112 | 111 |
|
113 | 112 |
|
114 |
|
|
115 |
|
|
113 |
|
|
114 |
|
|
116 | 115 |
|
117 | 116 |
|
118 | 117 |
|
|
||
176 | 175 |
|
177 | 176 |
|
178 | 177 |
|
179 |
|
|
178 |
|
|
180 | 179 |
|
181 | 180 |
|
182 | 181 |
|
|
||
60 | 60 |
|
61 | 61 |
|
62 | 62 |
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
|
|
67 |
|
|
68 |
|
|
63 | 69 |
|
64 | 70 |
|
65 | 71 |
|
|
||
16 | 16 |
|
17 | 17 |
|
18 | 18 |
|
19 |
|
|
20 | 19 |
|
21 | 20 |
|
22 | 21 |
|
|
||
25 | 24 |
|
26 | 25 |
|
27 | 26 |
|
28 |
|
|
29 | 27 |
|
30 | 28 |
|
31 | 29 |
|
32 |
|
|
33 |
|
|
30 |
|
|
31 |
|
|
34 | 32 |
|
35 | 33 |
|
36 | 34 |
|
37 | 35 |
|
38 |
|
|
36 |
|
|
39 | 37 |
|
40 | 38 |
|
41 | 39 |
|
|
||
40 | 40 |
|
41 | 41 |
|
42 | 42 |
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
43 | 49 |
|
44 | 50 |
|
45 | 51 |
|
|
||
47 | 53 |
|
48 | 54 |
|
49 | 55 |
|
50 |
|
|
56 |
|
|
51 | 57 |
|
52 | 58 |
|
53 | 59 |
|
|
||
10 | 10 |
|
11 | 11 |
|
12 | 12 |
|
13 |
|
|
13 | 14 |
|
14 | 15 |
|
15 | 16 |
|
|
||
282 | 283 |
|
283 | 284 |
|
284 | 285 |
|
285 |
|
|
286 |
|
|
286 | 287 |
|
287 | 288 |
|
288 | 289 |
|
|
||
30 | 30 |
|
31 | 31 |
|
32 | 32 |
|
33 |
|
|
34 | 33 |
|
35 | 34 |
|
36 | 35 |
|
|
||
69 | 68 |
|
70 | 69 |
|
71 | 70 |
|
72 |
|
|
71 |
|
|
73 | 72 |
|
74 |
|
|
73 |
|
|
75 | 74 |
|
76 | 75 |
|
77 | 76 |
|
|
||
100 | 99 |
|
101 | 100 |
|
102 | 101 |
|
103 |
|
|
104 | 102 |
|
105 | 103 |
|
106 | 104 |
|
107 | 105 |
|
108 |
|
|
106 |
|
|
109 | 107 |
|
110 | 108 |
|
111 | 109 |
|
|
||
2 | 2 |
|
3 | 3 |
|
4 | 4 |
|
5 |
|
|
6 |
|
|
5 | 7 |
|
6 | 8 |
|
7 | 9 |
|
8 | 10 |
|
9 | 11 |
|
12 |
|
|
13 |
|
|
14 |
|
|
10 | 15 |
|
11 | 16 |
|
12 | 17 |
|
|
||
18 | 23 |
|
19 | 24 |
|
20 | 25 |
|
21 |
|
|
26 |
|
|
22 | 27 |
|
23 | 28 |
|
24 | 29 |
|
|
||
45 | 50 |
|
46 | 51 |
|
47 | 52 |
|
53 |
|
|
48 | 54 |
|
49 | 55 |
|
50 | 56 |
|
51 | 57 |
|
52 | 58 |
|
53 | 59 |
|
54 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
|
|
67 |
|
|
55 | 68 |
|
56 | 69 |
|
57 | 70 |
|
71 |
|
|
72 |
|
|
73 |
|
|
74 |
|
|
75 |
|
|
76 |
|
|
77 |
|
|
78 |
|
|
79 |
|
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
85 |
|
|
86 |
|
|
87 |
|
|
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
|
95 |
|
|
96 |
|
|
97 |
|
|
98 |
|
|
99 |
|
|
100 |
|
|
101 |
|
|
102 |
|
|
103 |
|
|
104 |
|
|
105 |
|
|
106 |
|
|
107 |
|
|
108 |
|
|
109 |
|
|
110 |
|
|
111 |
|
|
112 |
|
|
113 |
|
|
114 |
|
|
115 |
|
|
116 |
|
|
58 | 117 |
|
59 | 118 |
|
60 | 119 |
|
|
||
157 | 216 |
|
158 | 217 |
|
159 | 218 |
|
160 |
|
|
219 |
|
|
161 | 220 |
|
162 | 221 |
|
163 | 222 |
|
|
||
176 | 235 |
|
177 | 236 |
|
178 | 237 |
|
238 |
|
|
179 | 239 |
|
180 | 240 |
|
181 | 241 |
|
|
||
295 | 355 |
|
296 | 356 |
|
297 | 357 |
|
358 |
|
|
359 |
|
|
360 |
|
|
361 |
|
|
362 |
|
|
363 |
|
|
364 |
|
|
365 |
|
|
298 | 366 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
|
|
5 |
|
|
6 |
|
|
4 |
|
|
7 | 5 |
|
8 | 6 |
|
9 | 7 |
|
10 |
|
|
11 | 8 |
|
12 |
|
|
13 |
|
|
14 | 9 |
|
15 | 10 |
|
16 | 11 |
|
17 | 12 |
|
18 |
|
|
19 | 13 |
|
20 |
|
|
21 | 14 |
|
22 | 15 |
|
23 |
|
|
24 | 16 |
|
25 | 17 |
|
26 | 18 |
|
|
||
30 | 22 |
|
31 | 23 |
|
32 | 24 |
|
33 |
|
|
34 | 25 |
|
35 | 26 |
|
36 | 27 |
|
|
||
42 | 33 |
|
43 | 34 |
|
44 | 35 |
|
36 |
|
|
45 | 37 |
|
46 | 38 |
|
47 | 39 |
|
48 | 40 |
|
49 |
|
|
41 |
|
|
50 | 42 |
|
51 | 43 |
|
52 |
|
|
53 |
|
|
44 |
|
|
54 | 45 |
|
55 | 46 |
|
56 | 47 |
|
|
||
146 | 137 |
|
147 | 138 |
|
148 | 139 |
|
149 |
|
|
150 |
|
|
151 |
|
|
152 |
|
|
153 |
|
|
154 |
|
|
155 |
|
|
156 |
|
|
157 |
|
|
158 |
|
|
159 |
|
|
160 |
|
|
161 |
|
|
162 |
|
|
163 |
|
|
140 |
|
|
164 | 141 |
|
165 |
|
|
166 |
|
|
167 |
|
|
168 |
|
|
169 |
|
|
170 |
|
|
171 |
|
|
172 |
|
|
173 |
|
|
174 |
|
|
175 |
|
|
176 |
|
|
177 |
|
|
178 |
|
|
179 |
|
|
142 |
|
|
180 | 143 |
|
181 | 144 |
|
182 | 145 |
|
183 | 146 |
|
184 |
|
|
147 |
|
|
148 |
|
|
149 |
|
|
150 |
|
|
185 | 151 |
|
186 | 152 |
|
187 | 153 |
|
188 | 154 |
|
189 |
|
|
155 |
|
|
190 | 156 |
|
191 | 157 |
|
192 | 158 |
|
|
||
5 | 5 |
|
6 | 6 |
|
7 | 7 |
|
8 |
|
|
9 | 8 |
|
10 | 9 |
|
11 | 10 |
|
|
||
13 | 12 |
|
14 | 13 |
|
15 | 14 |
|
16 |
|
|
17 | 15 |
|
18 | 16 |
|
19 | 17 |
|
|
||
38 | 36 |
|
39 | 37 |
|
40 | 38 |
|
41 |
|
|
42 |
|
|
39 |
|
|
40 |
|
|
43 | 41 |
|
44 |
|
|
45 |
|
|
42 |
|
|
43 |
|
|
46 | 44 |
|
47 | 45 |
|
48 | 46 |
|
49 | 47 |
|
50 | 48 |
|
51 | 49 |
|
52 |
|
|
50 |
|
|
53 | 51 |
|
54 | 52 |
|
55 | 53 |
|
|
||
32 | 32 |
|
33 | 33 |
|
34 | 34 |
|
35 |
|
|
36 | 35 |
|
37 | 36 |
|
38 | 37 |
|
|
||
73 | 72 |
|
74 | 73 |
|
75 | 74 |
|
76 |
|
|
75 |
|
|
77 | 76 |
|
78 | 77 |
|
79 | 78 |
|
|
||
231 | 230 |
|
232 | 231 |
|
233 | 232 |
|
234 |
|
|
235 | 233 |
|
236 | 234 |
|
237 | 235 |
|
238 | 236 |
|
239 |
|
|
237 |
|
|
240 | 238 |
|
241 | 239 |
|
242 | 240 |
|
|
||
264 | 262 |
|
265 | 263 |
|
266 | 264 |
|
265 |
|
|
266 |
|
|
267 |
|
|
268 |
|
|
269 |
|
|
270 |
|
|
271 |
|
|
267 | 272 |
|
268 | 273 |
|
269 | 274 |
|
|
||
750 | 755 |
|
751 | 756 |
|
752 | 757 |
|
753 |
|
|
754 | 758 |
|
755 | 759 |
|
756 | 760 |
|
757 | 761 |
|
758 |
|
|
762 |
|
|
759 | 763 |
|
760 | 764 |
|
761 | 765 |
|
|
||
767 | 771 |
|
768 | 772 |
|
769 | 773 |
|
770 |
|
|
771 | 774 |
|
772 | 775 |
|
773 | 776 |
|
774 | 777 |
|
775 |
|
|
778 |
|
|
776 | 779 |
|
777 | 780 |
|
778 | 781 |
|
|
||
848 | 851 |
|
849 | 852 |
|
850 | 853 |
|
851 |
|
|
852 |
|
|
854 |
|
|
855 |
|
|
853 | 856 |
|
854 | 857 |
|
855 | 858 |
|
|
||
8 | 8 |
|
9 | 9 |
|
10 | 10 |
|
11 |
|
|
12 | 11 |
|
13 | 12 |
|
14 | 13 |
|
|
||
42 | 41 |
|
43 | 42 |
|
44 | 43 |
|
45 |
|
|
46 |
|
|
44 |
|
|
45 |
|
|
47 | 46 |
|
48 | 47 |
|
49 | 48 |
|
|
||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
10 |
|
|
11 | 10 |
|
12 | 11 |
|
13 | 12 |
|
|
||
35 | 34 |
|
36 | 35 |
|
37 | 36 |
|
38 |
|
|
39 | 37 |
|
40 | 38 |
|
41 | 39 |
|
|
||
50 | 48 |
|
51 | 49 |
|
52 | 50 |
|
53 |
|
|
54 |
|
|
51 |
|
|
52 |
|
|
55 | 53 |
|
56 | 54 |
|
57 |
|
|
58 | 55 |
|
59 | 56 |
|
60 | 57 |
|
61 | 58 |
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
|
|
71 | 59 |
|
72 | 60 |
|
73 | 61 |
|