aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2020-11-08 21:14:30 +0100
committerlookshe <github@lookshe.org>2020-11-08 21:14:30 +0100
commitbff4f729f9068bcf9b914b5ce5918b7763c2db2f (patch)
treefaa2ef70620e8249dbfaa15045539b11e228ba5e
parentef72173fdbcb27d64b9b07abb4a56c9dff22eb80 (diff)
app_name through gradle
-rw-r--r--build.gradle2
-rw-r--r--src/beta/res/values/strings.xml4
2 files changed, 2 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle
index c80962146..f00416e34 100644
--- a/build.gradle
+++ b/build.gradle
@@ -107,6 +107,7 @@ android {
applicationId appId
multiDexEnabled true
resValue "string", "applicationId", applicationId
+ resValue "string", "app_name", "PiratX"
buildConfigField 'String', 'STATICMAP_URL', '"https://piratx.thedevstack.de/staticmap"'
buildConfigField 'String', 'INVITE_HOST', '"jabber.thedevstack.de"'
@@ -137,6 +138,7 @@ android {
dimension "stage"
applicationIdSuffix ".beta"
versionNameSuffix "-beta"
+ resValue "string", "app_name", "PiratX BETA"
}
allDomain {
dimension "domain"
diff --git a/src/beta/res/values/strings.xml b/src/beta/res/values/strings.xml
deleted file mode 100644
index d5a708280..000000000
--- a/src/beta/res/values/strings.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
- <string name="app_name" translatable="false">PiratX BETA</string>
-</resources> \ No newline at end of file