stop speak if user exit from app
This commit is contained in:
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user