mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2024-12-28 01:30:11 +01:00
Increment number of errors by one (#898)
This commit is contained in:
parent
9699e93169
commit
49c273e056
@ -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…
Reference in New Issue
Block a user