Skip to content

Commit

Permalink
Fix macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanov91 committed Mar 15, 2024
1 parent 774afbf commit 758c76d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/OversizeComponents/NoteEditor/NoteEditor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,17 @@ public struct NoteEditor: View {
}
}

ToolbarItem(placement: .topBarLeading) {
ToolbarItem(placement: .cancellationAction) {
Button {
dismiss()
} label: {
Image.Base.close.icon()
}
}
}
#if os(iOS)
.navigationBarTitleDisplayMode(.inline)
#endif
.onAppear {
isFocus = true
}
Expand Down

0 comments on commit 758c76d

Please sign in to comment.