Skip to content

Commit

Permalink
add some hint
Browse files Browse the repository at this point in the history
  • Loading branch information
ming1016 committed May 10, 2024
1 parent b8355e9 commit 0bc6935
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions SwiftPamphletApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
4 changes: 4 additions & 0 deletions SwiftPamphletApp/Guide/Bookmark/View/BookmarkListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion SwiftPamphletApp/Guide/View/GuideDetailView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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("资料")
Expand Down
3 changes: 2 additions & 1 deletion SwiftPamphletApp/InfoOrganizer/Info/InfoListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ struct InfoListView: View {
.symbolRenderingMode(.multicolor)
Text("检索")
}
.help("CMD + d")
.help("command + d")
.keyboardShortcut(KeyEquivalent("d"), modifiers: .command)
}
}
Expand Down Expand Up @@ -161,6 +161,7 @@ struct InfoListView: View {
}
.padding(20)
})
.help("command + p")
.keyboardShortcut(KeyEquivalent("p"), modifiers: .command)
}

Expand Down

0 comments on commit 0bc6935

Please sign in to comment.