Skip to content

Commit 97b8acb

Browse files
committed
feat: make storage internal and not publicly accessible.
1 parent 745c7a4 commit 97b8acb

File tree

1 file changed

+1
-1
lines changed
  • core/src/main/java/com/segment/analytics/kotlin/core

1 file changed

+1
-1
lines changed

core/src/main/java/com/segment/analytics/kotlin/core/Analytics.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ open class Analytics protected constructor(
4343
}
4444

4545
// use lazy to avoid the instance being leak before fully initialized
46-
val storage: Storage by lazy {
46+
internal val storage: Storage by lazy {
4747
configuration.storageProvider.getStorage(
4848
analytics = this,
4949
writeKey = configuration.writeKey,

0 commit comments

Comments
 (0)