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:
parent
147c417a74
commit
f15311f2f6
@ -343,7 +343,7 @@ extension ComposeContentViewModel {
|
|||||||
.charactersReservedPerURL ?? MastodonAuthentication.fallbackCharactersReservedPerURL
|
.charactersReservedPerURL ?? MastodonAuthentication.fallbackCharactersReservedPerURL
|
||||||
return lengthWithoutLinks + (matches.count * charactersReservedPerURL)
|
return lengthWithoutLinks + (matches.count * charactersReservedPerURL)
|
||||||
}
|
}
|
||||||
.receive(on: RunLoop.main)
|
.receive(on: DispatchQueue.main)
|
||||||
.assign(to: &$contentWeightedLength)
|
.assign(to: &$contentWeightedLength)
|
||||||
|
|
||||||
Publishers.CombineLatest(
|
Publishers.CombineLatest(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user