Skip to content

Commit

Permalink
Fix detekt complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaGulya committed Jan 6, 2024
1 parent b13b1de commit 479aff3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ class Counter : DisposableScope by DisposableScope() {
return observableOfEmpty()
}


return when (event) {
is Event.Increment -> observableOf(Msg.Set(value = state.value + 5L))
is Event.Increment -> observableOf(Msg.Set(value = state.value + 1L))
is Event.Decrement -> observableOf(Msg.Set(value = state.value - 1L))
is Event.Reset -> observableOf(Msg.Set(value = 0L))
is Event.Fibonacci -> fibonacci(n = state.value)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import com.badoo.reaktive.base.Consumer
import com.badoo.reaktive.disposable.Disposable
import com.badoo.reaktive.disposable.scope.DisposableScope
import com.badoo.reaktive.observable.Observable
import com.badoo.reaktive.observable.flatMap
import com.badoo.reaktive.observable.map
import com.badoo.reaktive.observable.switchMap
import com.badoo.reaktive.subject.behavior.BehaviorObservable
Expand Down

0 comments on commit 479aff3

Please sign in to comment.