Skip to content

Commit

Permalink
fix(DraftUtils): Add @mainactor back
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeWeidmann committed Jan 12, 2023
1 parent 4eb5730 commit a1fd1ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Mail/Utils/DraftUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import Foundation
import MailCore
import SwiftUI

@MainActor
class DraftUtils {
public static func editDraft(from thread: Thread, mailboxManager: MailboxManager, editedMessageDraft: Binding<Draft?>) {
guard let message = thread.messages.first else { return }
Expand Down

0 comments on commit a1fd1ec

Please sign in to comment.