[Cleanup] Lots of tidying, fill out API object
This commit is contained in:
parent
c98b2c7e25
commit
7610a97b78
11 changed files with 52 additions and 48 deletions
|
@ -25,7 +25,7 @@ export default function AssetDisplay({ asset }: AssetDisplayProps) {
|
|||
trailing={() => <RN.Image source={asset.id} style={styles.asset} />}
|
||||
onPress={() => {
|
||||
copyText(asset.name);
|
||||
showToast("Copied asset name to clipboard.", getAssetIDByName("toast_copy_link"))
|
||||
showToast("Copied asset name to clipboard.", getAssetIDByName("toast_copy_link"));
|
||||
}}
|
||||
/>
|
||||
)
|
||||
|
|
|
@ -20,7 +20,7 @@ export default function Version({ label, version, icon }: VersionProps) {
|
|||
trailing={() => <FormText>{version}</FormText>}
|
||||
onPress={() => {
|
||||
copyText(`${label} - ${version}`);
|
||||
showToast("Copied version to clipboard.", getAssetIDByName("toast_copy_link"))
|
||||
showToast("Copied version to clipboard.", getAssetIDByName("toast_copy_link"));
|
||||
}}
|
||||
/>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue