Переключение языка
This commit is contained in:
@@ -7,6 +7,7 @@ import com.github.nullptroma.wallenc.domain.interfaces.IStorage
|
||||
import com.github.nullptroma.wallenc.domain.interfaces.IStorageAccessor
|
||||
import com.github.nullptroma.wallenc.domain.interfaces.IStorageMetaInfo
|
||||
import com.github.nullptroma.wallenc.domain.tasks.TaskProgress
|
||||
import com.github.nullptroma.wallenc.domain.tasks.TaskProgressLabel
|
||||
import kotlinx.coroutines.CoroutineDispatcher
|
||||
import kotlinx.coroutines.ensureActive
|
||||
import kotlinx.coroutines.flow.Flow
|
||||
@@ -132,7 +133,7 @@ abstract class BaseStorage(
|
||||
onProgress(
|
||||
TaskProgress(
|
||||
fraction = done.toFloat() / total,
|
||||
label = "$done / $total",
|
||||
label = TaskProgressLabel.ClearContentProgress(done, total),
|
||||
),
|
||||
)
|
||||
coroutineContext.ensureActive()
|
||||
|
||||
Reference in New Issue
Block a user