From 6cd16cc53e25cba843b8450445d6b3bc0f7722ed Mon Sep 17 00:00:00 2001 From: "hoc081098@gmail.com" Date: Sat, 6 Jan 2024 17:35:30 +0700 Subject: [PATCH] fix --- ...e.android.kt => StackEntryViewModelStoreOwner.android.kt} | 0 ...oreOwnerCloseable.kt => StackEntryViewModelStoreOwner.kt} | 0 .../internal/StackEntryViewModelStoreOwner.nonAndroid.kt | 5 +++++ 3 files changed, 5 insertions(+) rename navigation/src/androidMain/kotlin/com/hoc081098/solivagant/navigation/internal/{ViewModelStoreOwnerCloseable.android.kt => StackEntryViewModelStoreOwner.android.kt} (100%) rename navigation/src/commonMain/kotlin/com/hoc081098/solivagant/navigation/internal/{ViewModelStoreOwnerCloseable.kt => StackEntryViewModelStoreOwner.kt} (100%) create mode 100644 navigation/src/nonAndroidMain/kotlin/com/hoc081098/solivagant/navigation/internal/StackEntryViewModelStoreOwner.nonAndroid.kt diff --git a/navigation/src/androidMain/kotlin/com/hoc081098/solivagant/navigation/internal/ViewModelStoreOwnerCloseable.android.kt b/navigation/src/androidMain/kotlin/com/hoc081098/solivagant/navigation/internal/StackEntryViewModelStoreOwner.android.kt similarity index 100% rename from navigation/src/androidMain/kotlin/com/hoc081098/solivagant/navigation/internal/ViewModelStoreOwnerCloseable.android.kt rename to navigation/src/androidMain/kotlin/com/hoc081098/solivagant/navigation/internal/StackEntryViewModelStoreOwner.android.kt diff --git a/navigation/src/commonMain/kotlin/com/hoc081098/solivagant/navigation/internal/ViewModelStoreOwnerCloseable.kt b/navigation/src/commonMain/kotlin/com/hoc081098/solivagant/navigation/internal/StackEntryViewModelStoreOwner.kt similarity index 100% rename from navigation/src/commonMain/kotlin/com/hoc081098/solivagant/navigation/internal/ViewModelStoreOwnerCloseable.kt rename to navigation/src/commonMain/kotlin/com/hoc081098/solivagant/navigation/internal/StackEntryViewModelStoreOwner.kt diff --git a/navigation/src/nonAndroidMain/kotlin/com/hoc081098/solivagant/navigation/internal/StackEntryViewModelStoreOwner.nonAndroid.kt b/navigation/src/nonAndroidMain/kotlin/com/hoc081098/solivagant/navigation/internal/StackEntryViewModelStoreOwner.nonAndroid.kt new file mode 100644 index 00000000..b8a60fc2 --- /dev/null +++ b/navigation/src/nonAndroidMain/kotlin/com/hoc081098/solivagant/navigation/internal/StackEntryViewModelStoreOwner.nonAndroid.kt @@ -0,0 +1,5 @@ +package com.hoc081098.solivagant.navigation.internal + +import com.hoc081098.kmp.viewmodel.ViewModelStore + +internal actual fun createViewModelStore(): ViewModelStore = ViewModelStore()