Skip to content

Commit

Permalink
Linting issues resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
dblake78 committed Sep 9, 2024
1 parent c75ce05 commit 9407977
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ actual class FirebaseIntegration internal constructor(
}

/**
A kotlin converted implementation of FirebaseIntegration https://github.com/segment-integrations/analytics-android-integration-firebase
* A kotlin converted implementation of FirebaseIntegration https://github.com/segment-integrations/analytics-android-integration-firebase
*/
internal class AndroidFirebaseIntegration(context: Context?, private val logger: Logger) :
com.segment.analytics.integrations.Integration<FirebaseAnalytics?>() {
Expand Down Expand Up @@ -214,8 +214,7 @@ internal class AndroidFirebaseIntegration(context: Context?, private val logger:

private fun formatProperties(properties: Properties): Bundle {
val bundle = Bundle()
if ((properties.revenue() != 0.0 || properties.total() != 0.0)
&& Utils.isNullOrEmpty(properties.currency())
if ((properties.revenue() != 0.0 || properties.total() != 0.0) && Utils.isNullOrEmpty(properties.currency())
) {
bundle.putString(FirebaseAnalytics.Param.CURRENCY, "USD")
}
Expand Down

0 comments on commit 9407977

Please sign in to comment.