diff --git a/docs/setup/leak-canary-plugin.md b/docs/setup/leak-canary-plugin.md index 62462288d..7005e4bf0 100644 --- a/docs/setup/leak-canary-plugin.md +++ b/docs/setup/leak-canary-plugin.md @@ -26,7 +26,7 @@ Next, build a custom RefWatcher using RecordLeakService: (see [LeakCanary docs]( import com.facebook.flipper.plugins.leakcanary.RecordLeakService; RefWatcher refWatcher = LeakCanary.refWatcher(this) - .listenerServiceClass(RecordLeakService.class); + .listenerServiceClass(RecordLeakService.class) .buildAndInstall(); ```