Minor update to ConfigView.swift to fix key and search icon

Replaced icon names with names existing in assets to avoid them being left blank.

Changelog-Fixed: Fix icons on settings view
Closes: #1353
This commit is contained in:
Anthony de Broise
2023-07-08 14:00:31 +01:00
committed by William Casarin
parent 81b69bc2ea
commit cf4131f867

View File

@@ -37,7 +37,7 @@ struct ConfigView: View {
Form {
Section {
NavigationLink(value: Route.KeySettings(keypair: state.keypair)) {
IconLabel(NSLocalizedString("Keys", comment: "Settings section for managing keys"), img_name: "key", color: .purple)
IconLabel(NSLocalizedString("Keys", comment: "Settings section for managing keys"), img_name: "Key", color: .purple)
}
NavigationLink(value: Route.AppearanceSettings(settings: settings)) {
@@ -45,7 +45,7 @@ struct ConfigView: View {
}
NavigationLink(value: Route.SearchSettings(settings: settings)) {
IconLabel(NSLocalizedString("Search/Universe", comment: "Section header for search/universe settings"), img_name: "magnifyingglass", color: .red)
IconLabel(NSLocalizedString("Search/Universe", comment: "Section header for search/universe settings"), img_name: "search", color: .red)
}
NavigationLink(value: Route.NotificationSettings(settings: settings)) {