Moves feed deletion to Feeds section
This commit is contained in:
parent
06826a23bb
commit
e3a221befd
|
@ -26,7 +26,6 @@ struct SettingsView: View {
|
||||||
systemSettings
|
systemSettings
|
||||||
accounts
|
accounts
|
||||||
importExport
|
importExport
|
||||||
sidebarFeedManagement
|
|
||||||
timeline
|
timeline
|
||||||
articles
|
articles
|
||||||
appearance
|
appearance
|
||||||
|
@ -101,6 +100,7 @@ struct SettingsView: View {
|
||||||
.foregroundColor(.primary)
|
.foregroundColor(.primary)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Toggle("Confirm When Deleting", isOn: $settings.sidebarConfirmDelete)
|
||||||
})
|
})
|
||||||
.alert(isPresented: $feedsSettingsModel.showError) {
|
.alert(isPresented: $feedsSettingsModel.showError) {
|
||||||
Alert(
|
Alert(
|
||||||
|
@ -138,17 +138,14 @@ struct SettingsView: View {
|
||||||
Text(viewModel.accounts[i].nameForDisplay)
|
Text(viewModel.accounts[i].nameForDisplay)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
.listStyle(InsetGroupedListStyle())
|
.listStyle(InsetGroupedListStyle())
|
||||||
.navigationBarTitle("Export Subscriptions", displayMode: .inline)
|
.navigationBarTitle("Export Subscriptions", displayMode: .inline)
|
||||||
}
|
}
|
||||||
|
|
||||||
var sidebarFeedManagement: some View {
|
|
||||||
Section(header: Text("Feed Management")) {
|
|
||||||
Toggle("Confirm When Deleting Feeds and Folders", isOn: $settings.sidebarConfirmDelete)
|
|
||||||
}.toggleStyle(SwitchToggleStyle(tint: .accentColor))
|
|
||||||
}
|
|
||||||
|
|
||||||
var timeline: some View {
|
var timeline: some View {
|
||||||
Section(header: Text("Timeline"), content: {
|
Section(header: Text("Timeline"), content: {
|
||||||
|
|
Loading…
Reference in New Issue