2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] Suppress warning in LeanplumMetricsService to fix release builds

This commit is contained in:
Christian Sadilek 2019-08-08 14:53:05 -04:00
parent 527b52ed71
commit 27b574d548

View File

@ -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 ?: ""
}
}