2
2
mirror of https://github.com/mastodon/mastodon-ios synced 2025-04-11 22:58:02 +02:00

Receive on DispatchQueue.main for consistency (IOS-285)

This commit is contained in:
Marcus Kida 2024-07-31 11:55:56 +02:00
parent 147c417a74
commit f15311f2f6
No known key found for this signature in database
GPG Key ID: 19FF64E08013CA40

View File

@ -343,7 +343,7 @@ extension ComposeContentViewModel {
.charactersReservedPerURL ?? MastodonAuthentication.fallbackCharactersReservedPerURL
return lengthWithoutLinks + (matches.count * charactersReservedPerURL)
}
.receive(on: RunLoop.main)
.receive(on: DispatchQueue.main)
.assign(to: &$contentWeightedLength)
Publishers.CombineLatest(