From 3d728edd9de1b18f7eac19dedad60c29c8535c88 Mon Sep 17 00:00:00 2001 From: James Brown Date: Mon, 25 Mar 2024 19:08:40 +1100 Subject: [PATCH] Upgrade to v3.79 --- app/build.gradle | 4 ++-- app/src/main/AndroidManifest.xml | 10 +--------- .../alphawallet/app/ui/NFTAssetDetailActivity.java | 13 ++----------- 3 files changed, 5 insertions(+), 22 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index e776223148..d8877eb306 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -52,8 +52,8 @@ android { applicationId "io.stormbird.wallet" minSdk 24 targetSdk 34 - versionCode 257 - versionName "3.78" + versionCode 259 + versionName "3.79" android.buildFeatures.buildConfig true diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 40117de5e5..13137ac209 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -14,8 +14,6 @@ - - + android:exported="false"> - - diff --git a/app/src/main/java/com/alphawallet/app/ui/NFTAssetDetailActivity.java b/app/src/main/java/com/alphawallet/app/ui/NFTAssetDetailActivity.java index 58ff870fc2..58694e2645 100644 --- a/app/src/main/java/com/alphawallet/app/ui/NFTAssetDetailActivity.java +++ b/app/src/main/java/com/alphawallet/app/ui/NFTAssetDetailActivity.java @@ -131,6 +131,8 @@ protected void onCreate(@Nullable Bundle savedInstanceState) initIntents(); initViewModel(); + + usingNativeTokenScript = !viewModel.getUseTSViewer(); } private void initIntents() @@ -308,12 +310,6 @@ private void setup() setTitle(token.tokenInfo.name); updateDefaultTokenData(); - if (!viewModel.getUseTSViewer()) - { - TokenDefinition td = viewModel.getAssetDefinitionService().getAssetDefinition(this.token); - this.usingNativeTokenScript = (td != null && td.nameSpace != null); - } - if (asset != null && asset.isAttestation()) { setupAttestation(viewModel.getAssetDefinitionService().getAssetDefinition(token)); @@ -356,11 +352,6 @@ private void newScriptFound(TokenDefinition td) setTitle(token.getTokenName(viewModel.getAssetDefinitionService(), 1)); - if (!viewModel.getUseTSViewer()) - { - this.usingNativeTokenScript = td.nameSpace != null; - } - //now re-load the verbs if already called. If wallet is null this won't complete setupFunctionBar(viewModel.getWallet());