diff --git a/app/src/main/kotlin/com/aliucord/manager/installer/steps/base/Step.kt b/app/src/main/kotlin/com/aliucord/manager/installer/steps/base/Step.kt index 456cca7a..a44d5c66 100644 --- a/app/src/main/kotlin/com/aliucord/manager/installer/steps/base/Step.kt +++ b/app/src/main/kotlin/com/aliucord/manager/installer/steps/base/Step.kt @@ -3,7 +3,6 @@ package com.aliucord.manager.installer.steps.base import androidx.annotation.StringRes import androidx.compose.runtime.* import com.aliucord.manager.installer.steps.StepGroup -import com.aliucord.manager.installer.steps.StepContainer import org.koin.core.time.measureTimedValue import kotlin.math.roundToInt diff --git a/app/src/main/kotlin/com/aliucord/manager/ui/components/dialogs/InstallerDialog.kt b/app/src/main/kotlin/com/aliucord/manager/ui/components/dialogs/InstallerDialog.kt index 0cb15353..08534d19 100644 --- a/app/src/main/kotlin/com/aliucord/manager/ui/components/dialogs/InstallerDialog.kt +++ b/app/src/main/kotlin/com/aliucord/manager/ui/components/dialogs/InstallerDialog.kt @@ -5,9 +5,8 @@ package com.aliucord.manager.ui.components.dialogs -import androidx.compose.runtime.* -import androidx.compose.runtime.saveable.rememberSaveable -import com.aliucord.manager.ui.screens.install.InstallData +import androidx.compose.runtime.Composable +import androidx.compose.runtime.SideEffect @Composable fun InstallerDialog( diff --git a/app/src/main/kotlin/com/aliucord/manager/ui/screens/home/HomeModel.kt b/app/src/main/kotlin/com/aliucord/manager/ui/screens/home/HomeModel.kt index 9586fe06..003a4283 100644 --- a/app/src/main/kotlin/com/aliucord/manager/ui/screens/home/HomeModel.kt +++ b/app/src/main/kotlin/com/aliucord/manager/ui/screens/home/HomeModel.kt @@ -8,9 +8,9 @@ import cafe.adriel.voyager.core.model.ScreenModel import cafe.adriel.voyager.core.model.screenModelScope import com.aliucord.manager.BuildConfig import com.aliucord.manager.R -import com.aliucord.manager.manager.PreferencesManager import com.aliucord.manager.domain.repository.GithubRepository import com.aliucord.manager.installer.util.uninstallApk +import com.aliucord.manager.manager.PreferencesManager import com.aliucord.manager.network.utils.fold import com.aliucord.manager.ui.util.DiscordVersion import com.aliucord.manager.util.getPackageVersion diff --git a/app/src/main/kotlin/com/aliucord/manager/ui/widgets/updater/UpdaterViewModel.kt b/app/src/main/kotlin/com/aliucord/manager/ui/widgets/updater/UpdaterViewModel.kt index 22f0c881..55338188 100644 --- a/app/src/main/kotlin/com/aliucord/manager/ui/widgets/updater/UpdaterViewModel.kt +++ b/app/src/main/kotlin/com/aliucord/manager/ui/widgets/updater/UpdaterViewModel.kt @@ -5,9 +5,9 @@ import androidx.compose.runtime.* import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.aliucord.manager.BuildConfig -import com.aliucord.manager.manager.DownloadManager import com.aliucord.manager.domain.repository.GithubRepository import com.aliucord.manager.installer.util.installApks +import com.aliucord.manager.manager.DownloadManager import com.aliucord.manager.network.utils.SemVer import com.aliucord.manager.network.utils.getOrNull import kotlinx.coroutines.Dispatchers