Update some text to better suit HIG

Co-authored-by: Brandon Evans <brandon.evans@robotsandpencils.com>
This commit is contained in:
Matt Kiazyk 2020-12-30 15:00:18 -06:00 committed by GitHub
parent fdb74ee8d9
commit 8df4bb59e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -111,7 +111,7 @@ struct CopyPathButton: View {
Button(action: copyPath) {
Text("Copy Path")
}
.help("Copy Path")
.help("Copy path")
}
private func copyPath() {

View file

@ -36,7 +36,7 @@ struct MainToolbarModifier: ViewModifier {
.foregroundColor(.accentColor)
}
}
.help("Filter Installed Versions")
.help("Filter installed versions")
Button(action: { isShowingInfoPane.toggle() }) {
if isShowingInfoPane {
@ -47,12 +47,12 @@ struct MainToolbarModifier: ViewModifier {
}
}
.keyboardShortcut(KeyboardShortcut("i", modifiers: [.command, .option]))
.help("Info Pane")
.help("Show or hide the info pane")
TextField("Search...", text: $searchText)
.textFieldStyle(RoundedBorderTextFieldStyle())
.frame(width: 200)
.help("Search List")
.help("Search list")
}
}
}