Skip to content

Commit

Permalink
update 描述
Browse files Browse the repository at this point in the history
  • Loading branch information
ming1016 committed Sep 12, 2024
1 parent 375b867 commit a120e6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ struct EditCustomSearchView: View {

var body: some View {
VStack {
Text("自定检索,换行间隔,同行逗号间隔")
Text("自定标签,换行间隔,同行逗号间隔")
TextEditor(text: $term).border()
}
.padding(20)
Expand Down
6 changes: 3 additions & 3 deletions SwiftPamphletApp/InfoOrganizer/Info/EditInfoView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ struct EditInfoView: View {
})
Button("管理分类", action: manageCate)
if term.isEmpty == false {
Button("自定检索") {
Button("自定标签") {
showSheet = true
}
.help("command + s")
Expand Down Expand Up @@ -355,7 +355,7 @@ struct EditInfoView: View {
.keyboardShortcut(KeyEquivalent("s"), modifiers: .command)
}

Button("管理自定检索", action: manageCustomSearch)
Button("管理自定标签", action: manageCustomSearch)
}
}

Expand Down Expand Up @@ -449,7 +449,7 @@ struct EditInfoView: View {
}


// MARK: 自定检索
// MARK: 自定标签
@AppStorage(SPC.customSearchTerm) var term = ""
@State private var searchTerms: [[String]] = [[String]]()
func parseSearchTerms() -> [[String]] {
Expand Down

0 comments on commit a120e6e

Please sign in to comment.