[UI > AssetBrowser] Improve search, add name copying

This commit is contained in:
Beef 2022-10-23 01:37:49 +01:00
parent 9f1fe6313d
commit 0ec19aaf5c
2 changed files with 8 additions and 1 deletions

View file

@ -16,7 +16,7 @@ export default function AssetBrowser() {
title="SEARCH"
/>
<RN.FlatList
data={Object.values(all).filter(a => a.name.startsWith(searchName))}
data={Object.values(all).filter(a => a.name.includes(searchName))}
renderItem={({ item }) => (
<AssetDisplay asset={item} />
)}