Skip to content

Commit 39303ac

Browse files
committed
fix lint
1 parent 31a62cf commit 39303ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

voyager-core/src/androidMain/kotlin/cafe/adriel/voyager/androidx/AndroidScreenLifecycleOwner.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public class AndroidScreenLifecycleOwner private constructor() :
224224

225225
private fun LifecycleRegistry.safeHandleLifecycleEvent(event: Lifecycle.Event) {
226226
val currentState = currentState
227-
if(!currentState.isAtLeast(Lifecycle.State.INITIALIZED)) return
227+
if (!currentState.isAtLeast(Lifecycle.State.INITIALIZED)) return
228228

229229
handleLifecycleEvent(event)
230230
}

0 commit comments

Comments
 (0)