Skip to content

Commit d059459

Browse files
committed
fallback to default settings, not null
1 parent 9a06034 commit d059459

File tree

1 file changed

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

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ internal fun Analytics.fetchSettings(
112112
val connection = HTTPClient(writeKey, this.configuration.requestFactory).settings(cdnHost)
113113
val settingsString =
114114
connection.inputStream?.bufferedReader()?.use(BufferedReader::readText) ?: ""
115-
//configuration.defaultSettings = LenientJson.decodeFromString(settingsString)
116115
log("Fetched Settings: $settingsString")
117116
LenientJson.decodeFromString(settingsString)
118117
} catch (ex: Exception) {

0 commit comments

Comments
 (0)