mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02:00
Merge pull request #1099 from mastodon/898-that-escelated-quickly
Increment number of errors only by one
This commit is contained in:
commit
3909675cd4
@ -37,7 +37,7 @@ final class HomeTimelineNavigationBarTitleViewModel {
|
||||
.receive(on: DispatchQueue.main)
|
||||
.sink { [weak self] _ in
|
||||
guard let self = self else { return }
|
||||
self.networkErrorCount.value += self.networkErrorCount.value + 1
|
||||
self.networkErrorCount.value = self.networkErrorCount.value + 1
|
||||
}
|
||||
.store(in: &disposeBag)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user