From 6cada80a58cd9aaf41eb30f1078a35c344fc640e Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Tue, 9 Feb 2021 17:44:45 +0100 Subject: [PATCH] Revert build change --- OsmAnd/build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OsmAnd/build.gradle b/OsmAnd/build.gradle index bf435f606b..436aa652dc 100644 --- a/OsmAnd/build.gradle +++ b/OsmAnd/build.gradle @@ -154,11 +154,11 @@ android { } def replaceNoTranslate(line) { - if (line.contains("\"app_name\"") && System.getenv("TARGET_APP_PLUS_NAME")) { - return line.replaceAll(">[^<]*<", ">" + System.getenv("TARGET_APP_PLUS_NAME") + "<") + if (line.contains("\"app_name\"") && System.getenv("TARGET_APP_NAME")) { + return line.replaceAll(">[^<]*<", ">" + System.getenv("TARGET_APP_NAME") + "<") } - if (line.contains("\"app_name_free\"") && System.getenv("TARGET_APP_FREE_NAME")) { - return line.replaceAll(">[^<]*<", ">" + System.getenv("TARGET_APP_FREE_NAME") + "<") + if (line.contains("\"app_name_free\"") && System.getenv("TARGET_APP_NAME")) { + return line.replaceAll(">[^<]*<", ">" + System.getenv("TARGET_APP_NAME") + "<") } if (line.contains("\"app_edition\"") && System.getenv("APP_EDITION")) { return line.replaceAll(">[^<]*<", ">" + System.getenv("APP_EDITION") + "<")