Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DevSrSouza committed Jan 9, 2024
1 parent 31a62cf commit 39303ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public class AndroidScreenLifecycleOwner private constructor() :

private fun LifecycleRegistry.safeHandleLifecycleEvent(event: Lifecycle.Event) {
val currentState = currentState
if(!currentState.isAtLeast(Lifecycle.State.INITIALIZED)) return
if (!currentState.isAtLeast(Lifecycle.State.INITIALIZED)) return

handleLifecycleEvent(event)
}
Expand Down

0 comments on commit 39303ac

Please sign in to comment.