mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-25 07:42:15 +00:00
Added USE_BRANDED_IMAGES flag for onboarding design, to distinguish wether we should show or hide images
This commit is contained in:
@@ -160,6 +160,11 @@ buildConfig {
|
||||
buildConfigField("int", "DESKTOP_VERSION_CODE", "${extra["desktop.version_code"]}")
|
||||
buildConfigField("String", "DATABASE_BACKEND", "\"${extra["database.backend"]}\"")
|
||||
buildConfigField("Boolean", "ANDROID_BUNDLE", "${extra["android.bundle"]}")
|
||||
buildConfigField(
|
||||
"Boolean",
|
||||
"USE_BRANDED_IMAGES",
|
||||
(project.findProperty("USE_BRANDED_IMAGES")?.toString()?.toBooleanStrictOrNull() ?: false).toString()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -38,3 +38,6 @@ compose.version=1.8.2
|
||||
|
||||
# Choose sqlite or postgres backend
|
||||
database.backend=sqlite
|
||||
|
||||
# Set to true for branded builds (includes proprietary illustrations). Default: false (AGPL-compliant build).
|
||||
# USE_BRANDED_IMAGES=true
|
||||
|
||||
Reference in New Issue
Block a user