Added USE_BRANDED_IMAGES flag for onboarding design, to distinguish wether we should show or hide images

This commit is contained in:
hayk888997
2026-02-06 01:25:03 +04:00
parent b0a21560fd
commit b884ddd9bd
2 changed files with 8 additions and 0 deletions

View File

@@ -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()
)
}
}

View File

@@ -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