react-native-timacare 3.1.9-beta → 3.1.10-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -209,6 +209,7 @@ export default function VehicleCamera(props: any) {
209
209
  position: 'absolute',
210
210
  width: Dimensions.get('window').width,
211
211
  height: Dimensions.get('window').height,
212
+ zIndex: 1000,
212
213
  },
213
214
  ]}
214
215
  >
@@ -241,6 +242,7 @@ export default function VehicleCamera(props: any) {
241
242
  alignItems: 'center',
242
243
  gap: 8,
243
244
  marginTop: 16,
245
+ zIndex: 1000,
244
246
  }}
245
247
  >
246
248
  <IconUpload />
@@ -253,89 +255,88 @@ export default function VehicleCamera(props: any) {
253
255
  Tải ảnh từ thư viện
254
256
  </MText>
255
257
  </TouchableOpacity>
256
- </View>
257
- )}
258
-
259
- <SafeAreaView
260
- style={[
261
- commonStyles.fill,
262
- { position: 'absolute', width: '100%', height: '100%' },
263
- ]}
264
- >
265
- <View
266
- style={[
267
- commonStyles.row,
268
- commonStyles.alignCenter,
269
- { paddingVertical: 16 },
270
- ]}
271
- >
272
- <MButton
273
- onPress={() => {
274
- navigation.goBack();
258
+ <View
259
+ style={{
260
+ position: 'absolute',
261
+ bottom: 20,
262
+ left: 0,
263
+ right: 0,
275
264
  }}
265
+ >
266
+ {!taking && (
267
+ <>
268
+ <MText
269
+ style={{
270
+ color: 'white',
271
+ textAlign: 'center',
272
+ fontSize: 14,
273
+ }}
274
+ >
275
+ Vui lòng đặt giấy tờ nằm vừa khung hình chữ nhật,{'\n'}chụp đủ
276
+ ánh sáng và rõ nét.
277
+ </MText>
278
+ <View
279
+ style={{
280
+ alignItems: 'center',
281
+ marginVertical: 24,
282
+ }}
283
+ >
284
+ <MButton
285
+ onPress={() => {
286
+ takePhoto();
287
+ }}
288
+ >
289
+ <TakePhotoSvg />
290
+ </MButton>
291
+ </View>
292
+ </>
293
+ )}
294
+ </View>
295
+ <SafeAreaView
276
296
  style={[
277
- {
278
- width: 48,
279
- height: 48,
280
- zIndex: 1000,
281
- position: 'absolute',
282
- left: 16,
283
- top: 16,
284
- },
297
+ commonStyles.fill,
298
+ { position: 'absolute', width: '100%', height: '100%' },
285
299
  ]}
286
300
  >
287
- <IconBackWhite />
288
- </MButton>
289
- <View style={{ flex: 1, alignItems: 'center' }}>
290
- <MText style={$title}>ĐĂNG KÝ XE</MText>
291
- </View>
292
- </View>
293
- <MText
294
- style={{
295
- color: 'white',
296
- textAlign: 'center',
297
- }}
298
- >
299
- {title}
300
- </MText>
301
- <View
302
- style={{
303
- position: 'absolute',
304
- bottom: 20,
305
- left: 0,
306
- right: 0,
307
- }}
308
- >
309
- {!taking && (
310
- <>
311
- <MText
312
- style={{
313
- color: 'white',
314
- textAlign: 'center',
315
- fontSize: 14,
316
- }}
317
- >
318
- Vui lòng đặt giấy tờ nằm vừa khung hình chữ nhật,{'\n'}chụp đủ
319
- ánh sáng và rõ nét.
320
- </MText>
321
- <View
322
- style={{
323
- alignItems: 'center',
324
- marginVertical: 24,
301
+ <View
302
+ style={[
303
+ commonStyles.row,
304
+ commonStyles.alignCenter,
305
+ { paddingVertical: 16 },
306
+ ]}
307
+ >
308
+ <MButton
309
+ onPress={() => {
310
+ navigation.goBack();
325
311
  }}
312
+ style={[
313
+ {
314
+ width: 48,
315
+ height: 48,
316
+ zIndex: 1000,
317
+ position: 'absolute',
318
+ left: 16,
319
+ top: 16,
320
+ },
321
+ ]}
326
322
  >
327
- <MButton
328
- onPress={() => {
329
- takePhoto();
330
- }}
331
- >
332
- <TakePhotoSvg />
333
- </MButton>
323
+ <IconBackWhite />
324
+ </MButton>
325
+ <View style={{ flex: 1, alignItems: 'center' }}>
326
+ <MText style={$title}>ĐĂNG KÝ XE</MText>
334
327
  </View>
335
- </>
336
- )}
328
+ </View>
329
+ <MText
330
+ style={{
331
+ color: 'white',
332
+ textAlign: 'center',
333
+ }}
334
+ >
335
+ {title}
336
+ </MText>
337
+ </SafeAreaView>
337
338
  </View>
338
- </SafeAreaView>
339
+ )}
339
340
  <Modal
340
341
  isVisible={showModal}
341
342
  style={$modal}