File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
presentation/src/main/java/com/shifthackz/aisdv1/presentation Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ composeActivity = "1.9.1"
1313composeJunit = " 1.6.8"
1414lifecycleViewModel = " 2.8.4"
1515navigation = " 2.7.7"
16- paging = " 3.3.2 "
16+ paging = " 3.1.1 "
1717pagingCompose = " 1.0.0-alpha18"
1818gson = " 2.11.0"
1919accompanistSystemUi = " 0.34.0"
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import com.shifthackz.aisdv1.presentation.screen.setup.ServerSetupViewModel
1919import com.shifthackz.aisdv1.presentation.screen.splash.SplashScreen
2020import com.shifthackz.aisdv1.presentation.screen.web.webui.WebUiScreen
2121import com.shifthackz.aisdv1.presentation.utils.Constants
22- import org.koin.androidx.compose.getViewModel
22+ import org.koin.androidx.compose.koinViewModel
2323import org.koin.compose.koinInject
2424import org.koin.core.parameter.parametersOf
2525
@@ -37,7 +37,7 @@ fun NavGraphBuilder.mainNavGraph() {
3737 ?.getInt(Constants .PARAM_SOURCE )
3838 ? : LaunchSource .SPLASH .ordinal
3939 ServerSetupScreen (
40- viewModel = getViewModel <ServerSetupViewModel >(
40+ viewModel = koinViewModel <ServerSetupViewModel >(
4141 parameters = { parametersOf(sourceKey) }
4242 ),
4343 buildInfoProvider = koinInject()
@@ -111,7 +111,7 @@ fun NavGraphBuilder.mainNavGraph() {
111111 ?.getInt(Constants .PARAM_SOURCE )
112112 ? : LaunchSource .SPLASH .ordinal
113113 OnBoardingScreen (
114- viewModel = getViewModel <OnBoardingViewModel >(
114+ viewModel = koinViewModel <OnBoardingViewModel >(
115115 parameters = { parametersOf(sourceKey) }
116116 ),
117117 )
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ import com.shifthackz.aisdv1.presentation.utils.Constants
5757import com.shifthackz.aisdv1.presentation.widget.image.ZoomableImage
5858import com.shifthackz.aisdv1.presentation.widget.image.ZoomableImageSource
5959import com.shifthackz.catppuccin.palette.Catppuccin
60- import org.koin.androidx.compose.getViewModel
60+ import org.koin.androidx.compose.koinViewModel
6161import org.koin.compose.koinInject
6262import org.koin.core.parameter.parametersOf
6363import com.shifthackz.aisdv1.core.localization.R as LocalizationR
@@ -70,7 +70,7 @@ fun GalleryDetailScreen(itemId: Long) {
7070 val fileProviderDescriptor: FileProviderDescriptor = koinInject()
7171 val galleryDetailSharing: GalleryDetailSharing = koinInject()
7272 MviComponent (
73- viewModel = getViewModel <GalleryDetailViewModel >(
73+ viewModel = koinViewModel <GalleryDetailViewModel >(
7474 parameters = { parametersOf(itemId) },
7575 ),
7676 processEffect = { effect ->
You can’t perform that action at this time.
0 commit comments