Skip to content

Commit

Permalink
Merge pull request #388 from Countly/conteststed
Browse files Browse the repository at this point in the history
Content Interface fix
  • Loading branch information
turtledreams authored Sep 6, 2024
2 parents 0a97698 + 30b25fc commit 46c3b6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sdk/src/main/java/ly/count/android/sdk/CountlyConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ protected synchronized CountlyConfig disableHealthCheck() {
*
* @apiNote This is an EXPERIMENTAL feature, and it can have breaking changes
*/
public final ConfigContent contents = new ConfigContent();
public final ConfigContent content = new ConfigContent();

/**
* Experimental configuration interface to be used with CountlyConfig
Expand Down
4 changes: 2 additions & 2 deletions sdk/src/main/java/ly/count/android/sdk/ModuleContent.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public class ModuleContent extends ModuleBase {

contentInterface = new Content();
countlyTimer = new CountlyTimer();
contentUpdateInterval = config.contents.contentUpdateInterval;
globalContentCallback = config.contents.globalContentCallback;
contentUpdateInterval = config.content.contentUpdateInterval;
globalContentCallback = config.content.globalContentCallback;
}

void fetchContentsInternal(@NonNull String[] categories) {
Expand Down

0 comments on commit 46c3b6c

Please sign in to comment.