Update language.tsx

This commit is contained in:
Marcos Rodriguez Velez 2023-10-21 13:54:11 -04:00
parent fdaa5cda39
commit 7e99a7b644
No known key found for this signature in database
GPG key ID: 6030B2F48CCE86D7

View file

@ -51,7 +51,14 @@ const Language: React.FC = () => {
};
return (
<View />
<FlatList
style={[styles.flex, stylesHook.flex]}
keyExtractor={(_item, index) => `${index}`}
data={AvailableLanguages as { label: string; value: string; isRTL: boolean }[]}
renderItem={renderItem}
initialNumToRender={25}
contentInsetAdjustmentBehavior="automatic"
/>
);
};
// @ts-ignore: Fix later