@@ -3,7 +3,6 @@ import {SectionList} from 'react-native';
33import Good from './GoodItem' ;
44import { useTheme , Text } from 'react-native-paper' ;
55import { Box } from '@react-native-material/core' ;
6- import FastImage from 'react-native-fast-image' ;
76import { DisplayFilter } from '../../models/kaoo' ;
87
98export default function GoodsList ( ) {
@@ -42,35 +41,6 @@ export default function GoodsList() {
4241 { sections . length === 0 ? (
4342 < Box style = { { flex : 1 , justifyContent : 'center' , alignItems : 'center' } } >
4443 < Text style = { { fontSize : 20 , fontWeight : 'bold' } } > No results. Try another search!</ Text >
45- {
46- search && search . toLowerCase ( ) === 'oida' && (
47- < >
48- < Text style = { { fontSize : 20 , fontWeight : 'bold' } } > Oida!</ Text >
49- < FastImage
50- style = { { width : 400 , height : 300 } }
51- source = { {
52- uri : 'https://commanderred.xyz/assets/oida.png' ,
53- priority : FastImage . priority . normal ,
54- } }
55- resizeMode = { FastImage . resizeMode . contain }
56- />
57- </ >
58- )
59- }
60- {
61- search && search . toLowerCase ( ) === '42' && (
62- < >
63- < FastImage
64- style = { { width : 400 , height : 300 } }
65- source = { {
66- uri : 'https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Answer_to_Life.png/220px-Answer_to_Life.png' ,
67- priority : FastImage . priority . normal ,
68- } }
69- resizeMode = { FastImage . resizeMode . contain }
70- />
71- </ >
72- )
73- }
7444 </ Box >
7545 ) : (
7646 < SectionList
0 commit comments