Skip to content

Commit 742463c

Browse files
feat: rename config flag
1 parent d0288bd commit 742463c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

core/src/main/java/org/openedx/core/config/Config.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class Config(context: Context) {
9393
}
9494

9595
fun getDownloadsConfig(): DownloadsConfig {
96-
return getObjectOrNewInstance(DOWNLOADS, DownloadsConfig::class.java)
96+
return getObjectOrNewInstance(APP_LEVEL_DOWNLOADS, DownloadsConfig::class.java)
9797
}
9898

9999
fun getBranchConfig(): BranchConfig {
@@ -183,7 +183,7 @@ class Config(context: Context) {
183183
private const val DISCOVERY = "DISCOVERY"
184184
private const val PROGRAM = "PROGRAM"
185185
private const val DASHBOARD = "DASHBOARD"
186-
private const val DOWNLOADS = "DOWNLOADS"
186+
private const val APP_LEVEL_DOWNLOADS = "APP_LEVEL_DOWNLOADS"
187187
private const val BRANCH = "BRANCH"
188188
private const val UI_COMPONENTS = "UI_COMPONENTS"
189189
private const val PLATFORM_NAME = "PLATFORM_NAME"

default_config/dev/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ PROGRAM:
3131
DASHBOARD:
3232
TYPE: 'gallery'
3333

34-
DOWNLOADS:
34+
APP_LEVEL_DOWNLOADS:
3535
ENABLED: true
3636

3737
FIREBASE:

default_config/prod/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ PROGRAM:
3131
DASHBOARD:
3232
TYPE: 'gallery'
3333

34-
DOWNLOADS:
34+
APP_LEVEL_DOWNLOADS:
3535
ENABLED: true
3636

3737
FIREBASE:

default_config/stage/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ PROGRAM:
3131
DASHBOARD:
3232
TYPE: 'gallery'
3333

34-
DOWNLOADS:
34+
APP_LEVEL_DOWNLOADS:
3535
ENABLED: true
3636

3737
FIREBASE:

0 commit comments

Comments
 (0)