mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Fix for delayed loader not working properly. (#1329)
* fix * Update ElementX/Sources/Other/UserIndicator/UserIndicatorController.swift Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com> * Update ElementX/Sources/Other/Extensions/Duration.swift Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com> * fix for the issue of the missing xcoconfig file --------- Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
This commit is contained in:
@@ -58,7 +58,7 @@ class UserIndicatorController: ObservableObject, UserIndicatorControllerProtocol
|
||||
} else {
|
||||
if let delay {
|
||||
delayedIndicators.insert(indicator.id)
|
||||
Timer.scheduledTimer(withTimeInterval: Double(delay.components.seconds), repeats: false) { [weak self] _ in
|
||||
Timer.scheduledTimer(withTimeInterval: delay.seconds, repeats: false) { [weak self] _ in
|
||||
guard let self else { return }
|
||||
|
||||
guard delayedIndicators.contains(indicator.id) else {
|
||||
|
||||
Reference in New Issue
Block a user