fix(ui/settings/Developer): apply rounded corners fix

React Native bugs :/
This commit is contained in:
Palm 2024-09-16 03:56:23 +07:00 • committed by GitHub
parent 333a3919bf
commit d968d1880e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,7 @@ export default function AssetBrowser() {
/>
{/* TODO: Fix this, don't know why borderRadius is not working */}
<FlatList
style={{ borderRadius: 12, paddingHorizontal: 12, overflow: 'hidden' }}
style={{ borderRadius: 16, paddingHorizontal: 12, overflow: 'hidden', background: 'transparent' }}
data={Object.values(assetsMap).filter(a => a.name.includes(search) || a.id.toString() === search)}
// contentContainerStyle={{ borderRadius: 12, paddingHorizontal: 12, overflow: 'hidden' }}
renderItem={({ item }: any) => <AssetDisplay asset={item} />}