Fix post error messages not being displayed correctly

This commit is contained in:
Shadowfacts 2023-04-22 22:30:27 -04:00
parent 8ff20bf7aa
commit c17cf460d7
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ public final class ComposeController: ViewController {
@Published var isShowingSaveDraftSheet = false
@Published var isShowingDraftsList = false
@Published var poster: PostService?
@Published var postError: (any Error)?
@Published var postError: PostService.Error?
@Published public private(set) var didPostSuccessfully = false
var isPosting: Bool {