Use gear icon for iOS About (#684)
Resolve a discrepancy between iPhone and iPad. Leave the info icon on macOS, where Settings are separate.
This commit is contained in:
parent
a306d61a84
commit
d14f22d4a1
|
@ -58,7 +58,7 @@ struct AppToolbar: ToolbarContent {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ToolbarItem(placement: .navigation) {
|
ToolbarItem(placement: .navigation) {
|
||||||
moreButton
|
aboutButton
|
||||||
}
|
}
|
||||||
ToolbarItemGroup(placement: .primaryAction) {
|
ToolbarItemGroup(placement: .primaryAction) {
|
||||||
addProfileMenu
|
addProfileMenu
|
||||||
|
@ -77,21 +77,19 @@ private extension AppToolbar {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
var moreButton: some View {
|
|
||||||
Button(action: onAbout) {
|
|
||||||
ThemeImageLabel(Strings.Global.about, .moreDetails)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
var settingsButton: some View {
|
var settingsButton: some View {
|
||||||
Button(action: onSettings) {
|
Button(action: onSettings) {
|
||||||
ThemeImageLabel(Strings.Global.settings, .settings)
|
ThemeImage(.settings)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var aboutButton: some View {
|
var aboutButton: some View {
|
||||||
Button(action: onAbout) {
|
Button(action: onAbout) {
|
||||||
ThemeImageLabel(Strings.Global.about, .info)
|
#if os(iOS)
|
||||||
|
ThemeImage(.settings)
|
||||||
|
#else
|
||||||
|
ThemeImage(.info)
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue