Enable detekt rule UseCheckOrError and fix existing issues (and a potential crash on MapboxMap?).
This commit is contained in:
parent
f3974dd570
commit
9e3679cbd6
4 changed files with 4 additions and 4 deletions
|
|
@ -236,7 +236,7 @@ private fun MapView.lifecycleObserver(previousState: MutableState<Lifecycle.Even
|
|||
Lifecycle.Event.ON_DESTROY -> {
|
||||
//handled in onDispose
|
||||
}
|
||||
else -> throw IllegalStateException()
|
||||
Lifecycle.Event.ON_ANY -> Unit
|
||||
}
|
||||
previousState.value = event
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue