Let system uppercase section headers

This commit is contained in:
Shadowfacts 2020-08-16 14:58:02 -04:00
parent ee20c95a5d
commit 059f7307b3
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
4 changed files with 6 additions and 6 deletions

View File

@ -36,7 +36,7 @@ struct AdvancedPrefsView : View {
}
var automationSection: some View {
Section(header: Text("AUTOMATION")) {
Section(header: Text("Automation")) {
NavigationLink(destination: SilentActionPrefs()) {
Text("Silent Action Permissions")
}
@ -44,7 +44,7 @@ struct AdvancedPrefsView : View {
}
var cachingSection: some View {
Section(header: Text("CACHING")) {
Section(header: Text("Caching")) {
Button(action: clearCache) {
Text("Clear Cache")
}.foregroundColor(.red)

View File

@ -18,7 +18,7 @@ struct BehaviorPrefsView: View {
}
var linksSection: some View {
Section(header: Text("LINKS")) {
Section(header: Text("Links")) {
Toggle(isOn: $preferences.openLinksInApps) {
Text("Open Links in Apps")
}

View File

@ -20,7 +20,7 @@ struct ComposingPrefsView: View {
}
var composingSection: some View {
Section(header: Text("COMPOSING")) {
Section(header: Text("Composing")) {
Picker(selection: $preferences.defaultPostVisibility, label: Text("Default Post Visibility")) {
ForEach(Status.Visibility.allCases, id: \.self) { visibility in
HStack {
@ -41,7 +41,7 @@ struct ComposingPrefsView: View {
}
var replyingSection: some View {
Section(header: Text("REPLYING")) {
Section(header: Text("Replying")) {
Picker(selection: $preferences.contentWarningCopyMode, label: Text("Copy Content Warnings")) {
Text("As-is").tag(ContentWarningCopyMode.asIs)
Text("Prepend 're: '").tag(ContentWarningCopyMode.prependRe)

View File

@ -18,7 +18,7 @@ struct MediaPrefsView: View {
}
var viewingSection: some View {
Section(header: Text("VIEWING")) {
Section(header: Text("Viewing")) {
Toggle(isOn: $preferences.blurAllMedia) {
Text("Blur All Media")
}