package de.krisenvorrat.app.ui.update

internal data class UpdateUiState(
    val status: UpdateStatus = UpdateStatus.Hidden
)

internal sealed interface UpdateStatus {
    data object Hidden : UpdateStatus
    data object Checking : UpdateStatus
    data class Available(val versionName: String, val apkUrl: String) : UpdateStatus
    data class Downloading(val progress: Float) : UpdateStatus
    data class ReadyToInstall(val versionName: String) : UpdateStatus
    data class Error(val message: String) : UpdateStatus
}
