Skip to content

Commit

Permalink
refactor: Feedback addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-chekyrta committed Feb 21, 2024
1 parent d1f3262 commit 358b81d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/build
/build
/google-services.json
2 changes: 1 addition & 1 deletion app/src/main/java/org/openedx/app/AnalyticsManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class AnalyticsManager(

init {
// Initialise all the analytics libraries here
if (config.getFirebaseConfig().projectId.isNotBlank()) {
if (config.getFirebaseConfig().enabled) {
addAnalyticsTracker(FirebaseAnalytics(context = context))
}
val segmentConfig = config.getSegmentConfig()
Expand Down

0 comments on commit 358b81d

Please sign in to comment.