Skip to content

Commit 549b46a

Browse files
authored
Merge pull request Expensify#66939 from callstack-internal/improve-icons-rendering-time
perf: improve icons rendering time
2 parents 57f0196 + fd6105e commit 549b46a

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

src/CONST/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ const CONST = {
236236
ANIMATION_THUMBS_UP_DELAY: 200,
237237
ANIMATION_PAID_BUTTON_HIDE_DELAY: 300,
238238
BACKGROUND_IMAGE_TRANSITION_DURATION: 1000,
239-
IMAGE_SVG_TRANSITION_DURATION: 200,
240239
SCREEN_TRANSITION_END_TIMEOUT: 1000,
241240
LIMIT_TIMEOUT: 2147483647,
242241
ARROW_HIDE_DELAY: 3000,

src/components/ImageSVG/index.ios.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import {Image} from 'expo-image';
22
import React from 'react';
33
import type {ImageSourcePropType} from 'react-native';
4-
import CONST from '@src/CONST';
54
import type ImageSVGProps from './types';
65

76
function ImageSVG({src, width = '100%', height = '100%', fill, contentFit = 'cover', style, onLoadEnd}: ImageSVGProps) {
@@ -16,7 +15,6 @@ function ImageSVG({src, width = '100%', height = '100%', fill, contentFit = 'cov
1615
style={[{width, height}, style]}
1716
// eslint-disable-next-line react/jsx-props-no-spreading
1817
{...tintColorProp}
19-
transition={CONST.IMAGE_SVG_TRANSITION_DURATION}
2018
/>
2119
);
2220
}

0 commit comments

Comments
 (0)