diff --git a/shared/network/rest/src/commonMain/kotlin/app/futured/kmptemplate/network/rest/plugin/UserAgentPlugin.kt b/shared/network/rest/src/commonMain/kotlin/app/futured/kmptemplate/network/rest/plugin/UserAgentPlugin.kt index 2fb71e4e..9d0c43c8 100644 --- a/shared/network/rest/src/commonMain/kotlin/app/futured/kmptemplate/network/rest/plugin/UserAgentPlugin.kt +++ b/shared/network/rest/src/commonMain/kotlin/app/futured/kmptemplate/network/rest/plugin/UserAgentPlugin.kt @@ -1,6 +1,6 @@ package app.futured.kmptemplate.network.rest.plugin -import app.futured.kmptemplate.network.rest.BuildKonfig +import app.futured.kmptemplate.network.rest.FlavorConstants import app.futured.kmptemplate.platform.binding.Platform import io.ktor.client.HttpClientConfig import io.ktor.client.plugins.UserAgent @@ -13,7 +13,7 @@ internal class UserAgentPlugin(platform: Platform) : HttpClientPlugin { listOf( "$appName/$appVersionName", "($applicationId; build:$appBuildNumber; $osNameWithVersion; Model:$deviceModel)", - "ktor-client/${BuildKonfig.ktorUserAgentVersion}", + "ktor-client/${FlavorConstants.ktorUserAgentVersion}", ) }.joinToString(separator = " ")