Suppress warning in LeanplumMetricsService to fix release builds
This commit is contained in:
parent
e1f0c9f48b
commit
e26570054a
|
@ -106,8 +106,12 @@ class LeanplumMetricsService(private val application: Application) : MetricsServ
|
|||
private const val LOGTAG = "LeanplumMetricsService"
|
||||
|
||||
private val LeanplumId: String
|
||||
@Suppress("USELESS_ELVIS")
|
||||
// Debug builds have a null (nullable) LEANPLUM_ID
|
||||
get() = BuildConfig.LEANPLUM_ID ?: ""
|
||||
private val LeanplumToken: String
|
||||
@Suppress("USELESS_ELVIS")
|
||||
// Debug builds have a null (nullable) LEANPLUM_TOKEN
|
||||
get() = BuildConfig.LEANPLUM_TOKEN ?: ""
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user