Skip to content

Commit 92a9c3d

Browse files
committed
refactor: adopt text document symbols
1 parent 35159d4 commit 92a9c3d

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎EdgeMark/UI/Components/NSContextMenuModifier.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ private struct RowClickOverlay: NSViewRepresentable {
248248
let fallbackLabel: String
249249
switch item {
250250
case .note:
251-
iconName = "doc.text"
251+
iconName = "text.document"
252252
fallbackLabel = "Note"
253253
case let .folder(path):
254254
iconName = "folder.fill"

‎EdgeMark/UI/Components/Peek/PeekContentView.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ struct PeekContentView: View {
113113
/// so the preview reads as the same list the user would see on open.
114114
private func folderNoteRow(_ note: Note) -> some View {
115115
HStack(spacing: 10) {
116-
Image(systemName: "doc.text")
116+
Image(systemName: "text.document")
117117
.font(.title3)
118118
.foregroundStyle(.secondary)
119119
.frame(width: 22)

‎EdgeMark/UI/Navigation/HomeFolderView.swift‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ struct HomeFolderView: View {
561561

562562
private func inlineNoteRenameEditor(note: Note) -> some View {
563563
InlineRenameEditor(
564-
icon: "doc.text",
564+
icon: "text.document",
565565
placeholder: l10n["common.noteTitlePlaceholder"],
566566
text: $noteRename.text,
567567
isFocused: $isNoteRenameFocused,
@@ -721,7 +721,7 @@ struct HomeFolderView: View {
721721
openNote(note)
722722
} label: {
723723
HStack(spacing: 10) {
724-
Image(systemName: "doc.text")
724+
Image(systemName: "text.document")
725725
.font(.title3)
726726
.foregroundStyle(.secondary)
727727
.frame(width: iconWidth)
@@ -750,7 +750,7 @@ struct HomeFolderView: View {
750750
openNote(note)
751751
} label: {
752752
HStack(spacing: 10) {
753-
Image(systemName: "doc.text")
753+
Image(systemName: "text.document")
754754
.font(.title3)
755755
.foregroundStyle(.secondary)
756756
.frame(width: iconWidth)
@@ -781,7 +781,7 @@ struct HomeFolderView: View {
781781
openNote(note)
782782
} label: {
783783
HStack(spacing: 10) {
784-
Image(systemName: "doc.text")
784+
Image(systemName: "text.document")
785785
.font(.title3)
786786
.foregroundStyle(.secondary)
787787
.frame(width: iconWidth)
@@ -957,7 +957,7 @@ struct NoteRowView: View {
957957

958958
var body: some View {
959959
HStack(spacing: 10) {
960-
Image(systemName: "doc.text")
960+
Image(systemName: "text.document")
961961
.font(.title3)
962962
.foregroundStyle(.secondary)
963963
.frame(width: iconWidth)

‎EdgeMark/UI/Navigation/NoteListView.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ struct NoteListView: View {
311311

312312
private func inlineNoteRenameEditor(note: Note) -> some View {
313313
InlineRenameEditor(
314-
icon: "doc.text",
314+
icon: "text.document",
315315
placeholder: l10n["common.noteTitlePlaceholder"],
316316
text: $noteRename.text,
317317
isFocused: $isNoteRenameFocused,

‎EdgeMark/UI/Navigation/TrashView.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ private struct TrashedNoteRowView: View {
551551
onTap()
552552
} label: {
553553
HStack(spacing: 10) {
554-
Image(systemName: "doc.text")
554+
Image(systemName: "text.document")
555555
.font(.title3)
556556
.foregroundStyle(.secondary)
557557
.frame(width: iconWidth)

0 commit comments

Comments
 (0)