lifting the application launcher colour to the application module
This commit is contained in:
parent
c7f945c8b5
commit
d2ca4edc6d
|
@ -236,6 +236,7 @@ android {
|
||||||
debug {
|
debug {
|
||||||
applicationIdSuffix ".debug"
|
applicationIdSuffix ".debug"
|
||||||
signingConfig signingConfigs.debug
|
signingConfig signingConfigs.debug
|
||||||
|
resValue "color", "launcher_background", "#0DBD8B"
|
||||||
|
|
||||||
if (project.hasProperty("coverage")) {
|
if (project.hasProperty("coverage")) {
|
||||||
testCoverageEnabled = coverage.enableTestCoverage
|
testCoverageEnabled = coverage.enableTestCoverage
|
||||||
|
@ -243,6 +244,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
release {
|
release {
|
||||||
|
resValue "color", "launcher_background", "#0DBD8B"
|
||||||
postprocessing {
|
postprocessing {
|
||||||
removeUnusedCode true
|
removeUnusedCode true
|
||||||
removeUnusedResources true
|
removeUnusedResources true
|
||||||
|
@ -258,6 +260,7 @@ android {
|
||||||
initWith release
|
initWith release
|
||||||
applicationIdSuffix ".nightly"
|
applicationIdSuffix ".nightly"
|
||||||
versionNameSuffix "-nightly"
|
versionNameSuffix "-nightly"
|
||||||
|
resValue "color", "launcher_background", "#07007E"
|
||||||
|
|
||||||
// We need to copy paste this block, this is not done automatically by `initWith release`
|
// We need to copy paste this block, this is not done automatically by `initWith release`
|
||||||
postprocessing {
|
postprocessing {
|
||||||
|
|
|
@ -64,21 +64,16 @@ android {
|
||||||
buildTypes {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
resValue "string", "app_name", "Element dbg"
|
resValue "string", "app_name", "Element dbg"
|
||||||
resValue "color", "launcher_background", "#0DBD8B"
|
|
||||||
if (project.hasProperty("coverage")) {
|
if (project.hasProperty("coverage")) {
|
||||||
testCoverageEnabled = coverage.enableTestCoverage
|
testCoverageEnabled = coverage.enableTestCoverage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
nightly {
|
nightly {
|
||||||
initWith release
|
initWith release
|
||||||
// Just override the background color of the launcher icon for the nightly build.
|
|
||||||
resValue "color", "launcher_background", "#07007E"
|
|
||||||
}
|
}
|
||||||
release {
|
release {
|
||||||
resValue "string", "app_name", "Element"
|
resValue "string", "app_name", "Element"
|
||||||
resValue "color", "launcher_background", "#0DBD8B"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
flavorDimensions "store"
|
flavorDimensions "store"
|
||||||
|
|
Loading…
Reference in New Issue