Skip to content

Commit

Permalink
test format pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto committed Sep 26, 2023
1 parent 0a82305 commit cf17378
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ public class PostHogAndroid private constructor() {
* @property context the Context
* @property config the Config
*/
public fun setup(context: Context, config: PostHogAndroidConfig) {
public fun setup(
context: Context,
config: PostHogAndroidConfig,
) {
synchronized(lock) {
setAndroidConfig(context.appContext(), config)

Expand All @@ -33,7 +36,7 @@ public class PostHogAndroid private constructor() {

public fun with(context: Context, config: PostHogAndroidConfig): PostHog {
setAndroidConfig(context.appContext(), config)
return PostHog.with(config)
return PostHog.with( config)
}

private fun setAndroidConfig(context: Context, config: PostHogAndroidConfig) {
Expand Down

0 comments on commit cf17378

Please sign in to comment.