From 0bc693517cf5a002a1ef55db12f10ee7bdc99cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=B4=E9=93=AD?= Date: Fri, 10 May 2024 13:40:52 +0800 Subject: [PATCH] add some hint --- SwiftPamphletApp.xcodeproj/project.pbxproj | 4 ++-- SwiftPamphletApp/Guide/Bookmark/View/BookmarkListView.swift | 4 ++++ SwiftPamphletApp/Guide/View/GuideDetailView.swift | 2 +- SwiftPamphletApp/InfoOrganizer/Info/InfoListView.swift | 3 ++- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/SwiftPamphletApp.xcodeproj/project.pbxproj b/SwiftPamphletApp.xcodeproj/project.pbxproj index 65d4d480a..897620893 100644 --- a/SwiftPamphletApp.xcodeproj/project.pbxproj +++ b/SwiftPamphletApp.xcodeproj/project.pbxproj @@ -1595,7 +1595,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 4; + CURRENT_PROJECT_VERSION = 5; DEVELOPMENT_ASSET_PATHS = "\"SwiftPamphletApp/Preview Content\""; DEVELOPMENT_TEAM = 962Z8PV35L; ENABLE_HARDENED_RUNTIME = YES; @@ -1638,7 +1638,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 4; + CURRENT_PROJECT_VERSION = 5; DEVELOPMENT_ASSET_PATHS = "\"SwiftPamphletApp/Preview Content\""; DEVELOPMENT_TEAM = 962Z8PV35L; ENABLE_HARDENED_RUNTIME = YES; diff --git a/SwiftPamphletApp/Guide/Bookmark/View/BookmarkListView.swift b/SwiftPamphletApp/Guide/Bookmark/View/BookmarkListView.swift index d40373209..0300f75bc 100644 --- a/SwiftPamphletApp/Guide/Bookmark/View/BookmarkListView.swift +++ b/SwiftPamphletApp/Guide/Bookmark/View/BookmarkListView.swift @@ -19,6 +19,10 @@ struct BookmarkListView: View { ForEach(bms) { bm in NavigationLink(destination: GuideDetailView(t: bm.name, plName: bm.pamphletName, limit: $limit, trigger: $trigger)) { Text(bm.name) + Spacer() + Image(systemName: "bookmark") + .foregroundStyle(.secondary) + .font(.footnote) } } } diff --git a/SwiftPamphletApp/Guide/View/GuideDetailView.swift b/SwiftPamphletApp/Guide/View/GuideDetailView.swift index 219ac38a8..18e6e14dd 100644 --- a/SwiftPamphletApp/Guide/View/GuideDetailView.swift +++ b/SwiftPamphletApp/Guide/View/GuideDetailView.swift @@ -93,7 +93,7 @@ struct GuideDetailView: View { }, label: { Image(systemName: "xmark.circle") }) - .help("CMD + d") + .help("command + d") .keyboardShortcut(KeyEquivalent("d"), modifiers: .command) Spacer() Text("资料") diff --git a/SwiftPamphletApp/InfoOrganizer/Info/InfoListView.swift b/SwiftPamphletApp/InfoOrganizer/Info/InfoListView.swift index ad05086a8..4ab8c4976 100644 --- a/SwiftPamphletApp/InfoOrganizer/Info/InfoListView.swift +++ b/SwiftPamphletApp/InfoOrganizer/Info/InfoListView.swift @@ -102,7 +102,7 @@ struct InfoListView: View { .symbolRenderingMode(.multicolor) Text("检索") } - .help("CMD + d") + .help("command + d") .keyboardShortcut(KeyEquivalent("d"), modifiers: .command) } } @@ -161,6 +161,7 @@ struct InfoListView: View { } .padding(20) }) + .help("command + p") .keyboardShortcut(KeyEquivalent("p"), modifiers: .command) }