Let system uppercase section headers
This commit is contained in:
parent
ee20c95a5d
commit
059f7307b3
|
@ -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)
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue