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

fix: compile issue

This commit is contained in:
CMK 2022-11-13 22:40:26 +08:00
parent f80b751d93
commit b47f8ead37

View File

@ -398,8 +398,7 @@ extension ComposeContentViewModel {
// bind modal dismiss state
$content
.receive(on: DispatchQueue.main)
.map { [weak self] content in
guard let self = self else { return }
.map { content in
if content.isEmpty {
return true
}