Skip to content

Commit 1361348

Browse files
committed
linting issue fix
1 parent a78da43 commit 1361348

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

NewArch/src/examples/VirtualizedListExamplePage.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
ScrollView,
99
Pressable,
1010
Platform,
11+
PlatformColor,
1112
} from 'react-native';
1213
import React, {useState, useEffect} from 'react';
1314
import {Example} from '../components/Example';
@@ -415,7 +416,8 @@ export const VirtualizedListExamplePage: React.FunctionComponent<{navigation?: a
415416
? colors.primary
416417
: Platform.OS === 'windows'
417418
? PlatformColor('SystemColorButtonFaceColor')
418-
: colors.border,
419+
: colors.card,
420+
borderColor: colors.border,
419421
},
420422
]}
421423
onPress={() => {
@@ -425,10 +427,6 @@ export const VirtualizedListExamplePage: React.FunctionComponent<{navigation?: a
425427
setSelectedSupport('Single');
426428
}
427429
}}
428-
style={{
429-
backgroundColor: colors.card,
430-
borderColor: colors.border
431-
}}
432430
>
433431
<Text
434432
style={[

0 commit comments

Comments
 (0)