Skip to content

Commit e53c365

Browse files
committed
detekt fixed
1 parent 5d0f438 commit e53c365

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

sandbox/src/main/java/com/badoo/ribs/sandbox/app/RootActivity.kt

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,12 @@ import com.badoo.ribs.routing.transition.handler.TransitionHandler
2727
import com.badoo.ribs.rx3.workflows.RxWorkflowActivity
2828
import com.badoo.ribs.sandbox.BuildConfig
2929
import com.badoo.ribs.sandbox.R
30-
import com.badoo.ribs.sandbox.rib.hello_world.HelloWorld
3130
import com.badoo.ribs.sandbox.rib.switcher.Switcher
3231
import com.badoo.ribs.sandbox.rib.switcher.SwitcherBuilder
3332
import com.badoo.ribs.sandbox.util.CoffeeMachine
3433
import com.badoo.ribs.sandbox.util.StupidCoffeeMachine
3534
import io.reactivex.rxjava3.core.Observable
3635
import io.reactivex.rxjava3.core.Single
37-
import io.reactivex.rxjava3.functions.BiFunction
3836
import leakcanary.AppWatcher
3937

4038
/** The sample app's single activity */
@@ -85,18 +83,18 @@ class RootActivity : RxWorkflowActivity() {
8583
}
8684
).build(
8785
root(
88-
savedInstanceState = savedInstanceState,
89-
customisations = AppRibCustomisations,
90-
defaultPlugins = { node ->
91-
if (BuildConfig.DEBUG) {
92-
listOfNotNull(
93-
createLeakDetector(),
94-
createLogger(),
95-
if (node.isRoot) createDebugControlHost() else null
96-
)
97-
} else emptyList()
98-
}
99-
)).also {
86+
savedInstanceState = savedInstanceState,
87+
customisations = AppRibCustomisations,
88+
defaultPlugins = { node ->
89+
if (BuildConfig.DEBUG) {
90+
listOfNotNull(
91+
createLeakDetector(),
92+
createLogger(),
93+
if (node.isRoot) createDebugControlHost() else null
94+
)
95+
} else emptyList()
96+
}
97+
)).also {
10098
workflowRoot = it
10199
}
102100

0 commit comments

Comments
 (0)