Skip to content

Commit

Permalink
Fix changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DevSrSouza committed May 21, 2024
1 parent 8175154 commit 9cd9668
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions voyager-lifecycle-kmp/api/android/voyager-lifecycle-kmp.api
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
public final class cafe/adriel/voyager/jetpack/JetpackProviderKt {
public final class cafe/adriel/voyager/jetpack/LifecycleProviderKt {
}

public final class cafe/adriel/voyager/jetpack/NavigatorKt {
}

public final class cafe/adriel/voyager/jetpack/NavigatorLifecycleJetpackOwnerKt {
public final class cafe/adriel/voyager/jetpack/NavigatorLifecycleKMPOwnerKt {
}

public final class cafe/adriel/voyager/jetpack/VoyagerJetpackOwner$Companion {
public final class cafe/adriel/voyager/jetpack/VoyagerLifecycleKMPOwner$Companion {
}

6 changes: 3 additions & 3 deletions voyager-lifecycle-kmp/api/desktop/voyager-lifecycle-kmp.api
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
public final class cafe/adriel/voyager/jetpack/JetpackProviderKt {
public final class cafe/adriel/voyager/jetpack/LifecycleProviderKt {
}

public final class cafe/adriel/voyager/jetpack/NavigatorKt {
}

public final class cafe/adriel/voyager/jetpack/NavigatorLifecycleJetpackOwnerKt {
public final class cafe/adriel/voyager/jetpack/NavigatorLifecycleKMPOwnerKt {
}

public final class cafe/adriel/voyager/jetpack/VoyagerJetpackOwner$Companion {
public final class cafe/adriel/voyager/jetpack/VoyagerLifecycleKMPOwner$Companion {
}

Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ public fun ProvideNavigatorLifecycleKMPSupport(
@ExperimentalVoyagerApi
public class JetpackSupportProvider : NavigatorScreenLifecycleProvider {
override fun provide(screen: Screen): List<ScreenLifecycleContentProvider> =
listOf(ScreenLifecycleStore.get(screen) {ScreenLifecycleJetpackOwner() })
listOf(ScreenLifecycleStore.get(screen) { ScreenLifecycleKMPOwner() })

}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import cafe.adriel.voyager.navigator.currentOrThrow
@ExperimentalVoyagerApi
@Composable
public fun Navigator.rememberNavigatorViewModelStoreOwner(): ViewModelStoreOwner {
return rememberNavigatorJetpackOwner()
return rememberNavigatorLifecycleOwner()
}

@ExperimentalVoyagerApi
Expand Down

0 comments on commit 9cd9668

Please sign in to comment.