diff --git a/app/build.gradle b/app/build.gradle index a0118326c0..30888af765 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -31,7 +31,7 @@ detekt { } android_lint_reporter { - lintFilePath = "./build/reports/lint-results-analyticsDebug.xml" + //lintFilePath = "./build/reports/lint-results-analyticsDebug.xml" detektFilePath = "./build/reports/detekt/detekt.xml" githubOwner = "AlphaWallet" githubRepositoryName = "alpha-wallet-android" diff --git a/app/src/main/java/com/alphawallet/app/service/OpenSeaService.java b/app/src/main/java/com/alphawallet/app/service/OpenSeaService.java index c69bef76aa..04792d2849 100644 --- a/app/src/main/java/com/alphawallet/app/service/OpenSeaService.java +++ b/app/src/main/java/com/alphawallet/app/service/OpenSeaService.java @@ -33,6 +33,7 @@ import java.math.BigInteger; import java.util.HashMap; import java.util.List; +import java.util.Locale; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.TimeUnit; @@ -200,7 +201,7 @@ private void processOpenseaTokens(Map foundTokens, for (int i = 0; i < assets.length(); i++) { JSONObject assetJSON = assets.getJSONObject(i); - String tokenStandard = assetJSON.getString("token_standard").toLowerCase(); + String tokenStandard = assetJSON.getString("token_standard").toLowerCase(Locale.ROOT); if (!TextUtils.isEmpty(tokenStandard)) {