From 333a3919bf37c59645b31733eef90745f415d340 Mon Sep 17 00:00:00 2001 From: Palm Date: Mon, 16 Sep 2024 03:07:45 +0700 Subject: [PATCH] fix(ui/settings/Developer): replace references to IDs in Asset Browser with indexes Apparently they're the same thing. Someone who marked them as deprecated forgot to put a note, I suppose. --- src/core/ui/settings/pages/Developer/AssetDisplay.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core/ui/settings/pages/Developer/AssetDisplay.tsx b/src/core/ui/settings/pages/Developer/AssetDisplay.tsx index 6378140..16cc431 100644 --- a/src/core/ui/settings/pages/Developer/AssetDisplay.tsx +++ b/src/core/ui/settings/pages/Developer/AssetDisplay.tsx @@ -15,17 +15,17 @@ export default function AssetDisplay({ asset }: AssetDisplayProps) { return ( } + subLabel={`Index: ${asset.index}`} + icon={} onPress={() => { openAlert("revenge-asset-display-details", } + content={`Index: ${asset.index}\nModule ID: ${asset.moduleId}`} + extraContent={} actions={ copyToClipboard(asset.name)} /> - copyToClipboard(asset.id.toString())} /> + copyToClipboard(asset.index.toString())} /> } />);