Updated on 2026-08-14
This commit is contained in:
parent
0fbf91c88b
commit
00d5c7ce34
5 changed files with 20 additions and 3 deletions
|
|
@ -74,7 +74,9 @@ abstract class Task<T> {
|
|||
}
|
||||
}
|
||||
is CompletionResult.Failure ->
|
||||
if (result.error is TaskError.UserCancelledError) {
|
||||
if (result.error is TaskError.TagLost) {
|
||||
delegate?.hideSecurityDelay()
|
||||
} else if (result.error is TaskError.UserCancelledError) {
|
||||
callback(CompletionResult.Failure(TaskError.UserCancelledError()))
|
||||
reader?.readingActive = false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue