Moves feed deletion to Feeds section
This commit is contained in:
parent
06826a23bb
commit
e3a221befd
|
@ -26,7 +26,6 @@ struct SettingsView: View {
|
|||
systemSettings
|
||||
accounts
|
||||
importExport
|
||||
sidebarFeedManagement
|
||||
timeline
|
||||
articles
|
||||
appearance
|
||||
|
@ -101,6 +100,7 @@ struct SettingsView: View {
|
|||
.foregroundColor(.primary)
|
||||
}
|
||||
}
|
||||
Toggle("Confirm When Deleting", isOn: $settings.sidebarConfirmDelete)
|
||||
})
|
||||
.alert(isPresented: $feedsSettingsModel.showError) {
|
||||
Alert(
|
||||
|
@ -138,17 +138,14 @@ struct SettingsView: View {
|
|||
Text(viewModel.accounts[i].nameForDisplay)
|
||||
}
|
||||
})
|
||||
|
||||
})
|
||||
}
|
||||
.listStyle(InsetGroupedListStyle())
|
||||
.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 {
|
||||
Section(header: Text("Timeline"), content: {
|
||||
|
|
Loading…
Reference in New Issue