stop speak if user exit from app

This commit is contained in:
2026-09-15 12:59:20 +03:00
parent 218659fbd8
commit 633b3c7e7a
3 changed files with 18 additions and 2 deletions
@@ -49,7 +49,6 @@ class UpdateComponent(
fun checkUpdates(byUser: Boolean = true) {
if (!hasSupport) return
lastJob?.cancel()
lastJob = scope.launch {
interactor.checkUpdate().collect {
isForceUpdate = (it as? UpdateState.UpdateAvailable)?.isForceUpdate ?: false