diff --git a/feature/tweaks/presentation/build.gradle.kts b/feature/tweaks/presentation/build.gradle.kts index cf0e9acf9..882f70e35 100644 --- a/feature/tweaks/presentation/build.gradle.kts +++ b/feature/tweaks/presentation/build.gradle.kts @@ -16,6 +16,7 @@ kotlin { implementation(libs.androidx.compose.ui.tooling.preview) implementation(libs.jetbrains.compose.components.resources) implementation(libs.touchlab.kermit) + implementation(libs.kotlinx.collections.immutable) api(libs.ktor.client.core) diff --git a/feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt b/feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt index 31e1576f9..128cf3fa7 100644 --- a/feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt +++ b/feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/TweaksViewModel.kt @@ -485,6 +485,10 @@ class TweaksViewModel( // Handled in composable } + TweaksAction.OnSkippedUpdatesClick -> { + // Handled in composable (navigates to the skipped-updates screen). + } + is TweaksAction.OnThemeColorSelected -> { viewModelScope.launch { tweaksRepository.setThemeColor(action.themeColor) diff --git a/feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/skipped/SkippedUpdatesRoot.kt b/feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/skipped/SkippedUpdatesRoot.kt index 971248125..f418ec1b7 100644 --- a/feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/skipped/SkippedUpdatesRoot.kt +++ b/feature/tweaks/presentation/src/commonMain/kotlin/zed/rainxch/tweaks/presentation/skipped/SkippedUpdatesRoot.kt @@ -43,6 +43,7 @@ import org.jetbrains.compose.resources.stringResource import org.koin.compose.viewmodel.koinViewModel import zed.rainxch.core.presentation.utils.ObserveAsEvents import zed.rainxch.githubstore.core.presentation.res.Res +import zed.rainxch.githubstore.core.presentation.res.navigate_back import zed.rainxch.githubstore.core.presentation.res.skipped_updates_empty_description import zed.rainxch.githubstore.core.presentation.res.skipped_updates_empty_title import zed.rainxch.githubstore.core.presentation.res.skipped_updates_installed_label