fix: compile issue

This commit is contained in:
CMK 2022-11-13 22:40:26 +08:00
parent f80b751d93
commit b47f8ead37
1 changed files with 1 additions and 2 deletions

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
}