Skip to content

Commit f2955cf

Browse files
authored
Merge pull request #5871 from EdgeApp/paul/optimizeAnims
Paul/optimize anims
2 parents 8a6a1e8 + 7f811af commit f2955cf

File tree

11 files changed

+77
-491
lines changed

11 files changed

+77
-491
lines changed

eslint.config.mjs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export default [
134134
'src/components/common/BlurBackground.tsx',
135135
'src/components/common/CrossFade.tsx',
136136
'src/components/common/DotsBackground.tsx',
137-
'src/components/common/EdgeAnim.tsx',
137+
138138
'src/components/common/ExpandableList.tsx',
139139
'src/components/common/QrPeephole.tsx',
140140

@@ -164,7 +164,7 @@ export default [
164164
'src/components/modals/BackupModal.tsx',
165165

166166
'src/components/modals/CategoryModal.tsx',
167-
'src/components/modals/ConfirmContinueModal.tsx',
167+
168168
'src/components/modals/ContactListModal.tsx',
169169
'src/components/modals/ContactsPermissionModal.tsx',
170170
'src/components/modals/CountryListModal.tsx',
@@ -248,7 +248,7 @@ export default [
248248
'src/components/scenes/DuressModeHowToScene.tsx',
249249
'src/components/scenes/DuressModeSettingScene.tsx',
250250
'src/components/scenes/DuressPinScene.tsx',
251-
'src/components/scenes/EdgeLoginScene.tsx',
251+
252252
'src/components/scenes/EditTokenScene.tsx',
253253
'src/components/scenes/ExtraTabScene.tsx',
254254

@@ -281,7 +281,7 @@ export default [
281281
'src/components/scenes/ManageTokensScene.tsx',
282282
'src/components/scenes/MigrateWalletCalculateFeeScene.tsx',
283283
'src/components/scenes/MigrateWalletCompletionScene.tsx',
284-
'src/components/scenes/MigrateWalletSelectCryptoScene.tsx',
284+
285285
'src/components/scenes/NotificationCenterScene.tsx',
286286
'src/components/scenes/NotificationScene.tsx',
287287
'src/components/scenes/OtpRepairScene.tsx',
@@ -303,9 +303,9 @@ export default [
303303
'src/components/scenes/SweepPrivateKeyCalculateFeeScene.tsx',
304304
'src/components/scenes/SweepPrivateKeyCompletionScene.tsx',
305305
'src/components/scenes/SweepPrivateKeyProcessingScene.tsx',
306-
'src/components/scenes/SweepPrivateKeySelectCryptoScene.tsx',
306+
307307
'src/components/scenes/TransactionDetailsScene.tsx',
308-
'src/components/scenes/TransactionListScene.tsx',
308+
309309
'src/components/scenes/TransactionsExportScene.tsx',
310310
'src/components/scenes/UpgradeUsernameScreen.tsx',
311311
'src/components/scenes/WalletListScene.tsx',
@@ -391,7 +391,7 @@ export default [
391391
'src/components/themed/WalletListSectionHeader.tsx',
392392
'src/components/themed/WalletListSortable.tsx',
393393
'src/components/themed/WalletListSortableRow.tsx',
394-
'src/components/themed/WalletListSwipeable.tsx',
394+
395395
'src/components/themed/WalletListSwipeableCurrencyRow.tsx',
396396
'src/components/themed/WalletListSwipeableLoadingRow.tsx',
397397
'src/components/tiles/AddressTile2.tsx',

src/__tests__/scenes/__snapshots__/EdgeLoginScene.test.tsx.snap

Lines changed: 0 additions & 303 deletions
Original file line numberDiff line numberDiff line change
@@ -296,309 +296,6 @@ exports[`EdgeLoginScene should render with loading props 1`] = `
296296
</View>
297297
</View>
298298
</View>
299-
<View
300-
collapsable={false}
301-
jestAnimatedProps={
302-
{
303-
"value": {},
304-
}
305-
}
306-
jestAnimatedStyle={
307-
{
308-
"value": {
309-
"opacity": 0,
310-
},
311-
}
312-
}
313-
jestInlineStyle={{}}
314-
nativeID="1"
315-
pointerEvents="none"
316-
style={
317-
[
318-
{
319-
"opacity": 0,
320-
},
321-
]
322-
}
323-
>
324-
<View
325-
style={
326-
[
327-
{
328-
"alignSelf": "stretch",
329-
"borderColor": "#F1AA19",
330-
"borderRadius": 16,
331-
"borderWidth": 1,
332-
"margin": 22,
333-
},
334-
{
335-
"marginBottom": 22,
336-
"marginLeft": 22,
337-
"marginRight": 22,
338-
"marginTop": 22,
339-
},
340-
{
341-
"paddingBottom": 22,
342-
"paddingLeft": 22,
343-
"paddingRight": 22,
344-
"paddingTop": 22,
345-
},
346-
]
347-
}
348-
>
349-
<View
350-
style={
351-
{
352-
"alignItems": "center",
353-
"display": "flex",
354-
"flexDirection": "row",
355-
}
356-
}
357-
>
358-
<Text
359-
allowFontScaling={false}
360-
selectable={false}
361-
style={
362-
[
363-
{
364-
"color": "#F1AA19",
365-
"fontSize": 18,
366-
},
367-
{
368-
"marginRight": 11,
369-
},
370-
{
371-
"fontFamily": "Ionicons",
372-
"fontStyle": "normal",
373-
"fontWeight": "normal",
374-
},
375-
{},
376-
]
377-
}
378-
>
379-
380-
</Text>
381-
<Text
382-
adjustsFontSizeToFit={true}
383-
allowFontScaling={false}
384-
minimumFontScale={0.65}
385-
numberOfLines={1}
386-
style={
387-
[
388-
{
389-
"color": "#FFFFFF",
390-
"fontFamily": "Quicksand-Regular",
391-
"fontSize": 22,
392-
"includeFontPadding": false,
393-
},
394-
{
395-
"color": "#F1AA19",
396-
"fontFamily": "Quicksand-Bold",
397-
"fontSize": 17,
398-
"marginLeft": 6,
399-
},
400-
null,
401-
]
402-
}
403-
>
404-
Warning
405-
</Text>
406-
</View>
407-
<Text
408-
adjustsFontSizeToFit={true}
409-
allowFontScaling={false}
410-
minimumFontScale={0.65}
411-
numberOfLines={0}
412-
style={
413-
[
414-
{
415-
"color": "#FFFFFF",
416-
"fontFamily": "Quicksand-Regular",
417-
"fontSize": 22,
418-
"includeFontPadding": false,
419-
},
420-
{
421-
"color": "#F1AA19",
422-
"fontFamily": "Quicksand-Regular",
423-
"fontSize": 17,
424-
"marginTop": 22,
425-
},
426-
null,
427-
]
428-
}
429-
>
430-
You have scanned a QR code to login to your account from another device. Accepting this login will grant full access to your account and funds on that other device.
431-
432-
DO NOT accept this login unless you trust the application and person who provided the QR code
433-
</Text>
434-
</View>
435-
</View>
436-
<View
437-
collapsable={false}
438-
jestAnimatedProps={
439-
{
440-
"value": {},
441-
}
442-
}
443-
jestAnimatedStyle={
444-
{
445-
"value": {
446-
"opacity": 0,
447-
},
448-
}
449-
}
450-
jestInlineStyle={{}}
451-
nativeID="2"
452-
pointerEvents="none"
453-
style={
454-
[
455-
{
456-
"opacity": 0,
457-
},
458-
]
459-
}
460-
>
461-
<View
462-
style={
463-
[
464-
{
465-
"alignItems": "center",
466-
"justifyContent": "center",
467-
},
468-
{
469-
"marginBottom": 22,
470-
"marginLeft": 22,
471-
"marginRight": 22,
472-
"marginTop": 22,
473-
},
474-
]
475-
}
476-
>
477-
<View
478-
accessibilityState={
479-
{
480-
"busy": undefined,
481-
"checked": undefined,
482-
"disabled": false,
483-
"expanded": undefined,
484-
"selected": undefined,
485-
}
486-
}
487-
accessibilityValue={
488-
{
489-
"max": undefined,
490-
"min": undefined,
491-
"now": undefined,
492-
"text": undefined,
493-
}
494-
}
495-
accessible={true}
496-
collapsable={false}
497-
focusable={true}
498-
hitSlop={
499-
{
500-
"bottom": 11,
501-
"left": 10000,
502-
"right": 10000,
503-
"top": 11,
504-
}
505-
}
506-
onClick={[Function]}
507-
onResponderGrant={[Function]}
508-
onResponderMove={[Function]}
509-
onResponderRelease={[Function]}
510-
onResponderTerminate={[Function]}
511-
onResponderTerminationRequest={[Function]}
512-
onStartShouldSetResponder={[Function]}
513-
style={
514-
{
515-
"alignItems": "center",
516-
"borderRadius": 34,
517-
"height": 67,
518-
"justifyContent": "center",
519-
"opacity": 1,
520-
"overflow": "visible",
521-
"paddingHorizontal": 34,
522-
"paddingVertical": 0,
523-
"position": "relative",
524-
}
525-
}
526-
>
527-
<BVLinearGradient
528-
colors={
529-
[
530-
4280299823,
531-
4278214733,
532-
]
533-
}
534-
endPoint={
535-
{
536-
"x": 1,
537-
"y": 0,
538-
}
539-
}
540-
locations={null}
541-
startPoint={
542-
{
543-
"x": 0,
544-
"y": 0,
545-
}
546-
}
547-
style={
548-
{
549-
"borderRadius": 34,
550-
"bottom": 0,
551-
"left": 0,
552-
"position": "absolute",
553-
"right": 0,
554-
"top": 0,
555-
}
556-
}
557-
/>
558-
<View
559-
style={
560-
{
561-
"alignItems": "center",
562-
"flexDirection": "row",
563-
"justifyContent": "center",
564-
"opacity": 1,
565-
}
566-
}
567-
>
568-
<Text
569-
adjustsFontSizeToFit={true}
570-
allowFontScaling={false}
571-
minimumFontScale={0.65}
572-
numberOfLines={1}
573-
style={
574-
[
575-
{
576-
"color": "#FFFFFF",
577-
"fontFamily": "Quicksand-Regular",
578-
"fontSize": 22,
579-
"includeFontPadding": false,
580-
},
581-
[
582-
{
583-
"includeFontPadding": false,
584-
},
585-
{
586-
"color": "#FFFFFF",
587-
"fontFamily": "Quicksand-Medium",
588-
"fontSize": 22,
589-
},
590-
null,
591-
],
592-
null,
593-
]
594-
}
595-
>
596-
Accept
597-
</Text>
598-
</View>
599-
</View>
600-
</View>
601-
</View>
602299
<View
603300
style={
604301
[

0 commit comments

Comments
 (0)