Renamed SettingsViewRow to SettingsRow

This commit is contained in:
Stuart Breckenridge
2023-03-23 21:18:59 +08:00
parent 23eb0cb079
commit 7cd575d6b3
3 changed files with 18 additions and 18 deletions

View File

@@ -20,17 +20,17 @@ struct DisplayAndBehaviorsView: View {
}
Section(header: Text("Timeline", comment: "Display & Behaviours: Timeline section header")) {
SettingsViewRows.sortOldestToNewest($appDefaults.timelineSortDirectionBool)
SettingsViewRows.groupByFeed($appDefaults.timelineGroupByFeed)
SettingsViewRows.confirmMarkAllAsRead($appDefaults.confirmMarkAllAsRead)
SettingsViewRows.markAsReadOnScroll($appDefaults.markArticlesAsReadOnScroll)
SettingsViewRows.refreshToClearReadArticles($appDefaults.refreshClearsReadArticles)
SettingsViewRows.timelineLayout
SettingsRow.sortOldestToNewest($appDefaults.timelineSortDirectionBool)
SettingsRow.groupByFeed($appDefaults.timelineGroupByFeed)
SettingsRow.confirmMarkAllAsRead($appDefaults.confirmMarkAllAsRead)
SettingsRow.markAsReadOnScroll($appDefaults.markArticlesAsReadOnScroll)
SettingsRow.refreshToClearReadArticles($appDefaults.refreshClearsReadArticles)
SettingsRow.timelineLayout
}
Section(header: Text("Article", comment: "Display & Behaviours: Article section header")) {
SettingsViewRows.themeSelection
SettingsViewRows.openLinksInNetNewsWire(Binding<Bool>(
SettingsRow.themeSelection
SettingsRow.openLinksInNetNewsWire(Binding<Bool>(
get: { !appDefaults.useSystemBrowser },
set: { appDefaults.useSystemBrowser = !$0 }
))