SettingsView: Move App Icon to a new, general settings section

This commit is contained in:
naturecodevoid
2023-02-16 18:13:32 -08:00
parent 8874480b8c
commit 09db1ba9fc

View File

@@ -38,7 +38,6 @@ struct SettingsView: View {
var body: some View { var body: some View {
List { List {
Section { Section {
if let connectedAppleID = connectedTeams.first { if let connectedAppleID = connectedTeams.first {
HStack { HStack {
Text(L10n.SettingsView.ConnectedAppleID.name) Text(L10n.SettingsView.ConnectedAppleID.name)
@@ -89,6 +88,12 @@ struct SettingsView: View {
} }
} }
Section {
NavigationLink(L10n.AppIconsView.title) {
AppIconsView()
}
}
Section { Section {
Toggle(isOn: self.$isBackgroundRefreshEnabled, label: { Toggle(isOn: self.$isBackgroundRefreshEnabled, label: {
Text(L10n.SettingsView.backgroundRefresh) Text(L10n.SettingsView.backgroundRefresh)
@@ -150,10 +155,6 @@ struct SettingsView: View {
} }
Section { Section {
NavigationLink(L10n.AppIconsView.title) {
AppIconsView()
}
NavigationLink("Show Error Log") { NavigationLink("Show Error Log") {
ErrorLogView() ErrorLogView()
} }