[Cleanup] Lots of tidying, fill out API object

This commit is contained in:
Beef 2022-10-28 18:50:40 +01:00
parent c98b2c7e25
commit 7610a97b78
11 changed files with 52 additions and 48 deletions

View file

@ -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"));
}}
/>
)

View file

@ -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"));
}}
/>
)