mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:02:10 +00:00
Advanced settings fixes (#1857)
* vector-im/element-meta/issues/2042 - Fix advanced options ordering and capitalisation * Bump swiftlint's type_body_length warning to 1000, make it match error. * Fix unit tests
This commit is contained in:
+3
-3
@@ -28,11 +28,11 @@ struct AdvancedSettingsScreen: View {
|
||||
kind: .picker(selection: $context.timelineStyle,
|
||||
items: TimelineStyle.allCases.map { (title: $0.name, tag: $0) }))
|
||||
|
||||
ListRow(label: .default(title: L10n.actionViewSource, systemIcon: .mailAndTextMagnifyingglass),
|
||||
kind: .toggle($context.viewSourceEnabled))
|
||||
|
||||
ListRow(label: .default(title: L10n.commonRichTextEditor, icon: Image(asset: Asset.Images.textFormat)),
|
||||
kind: .toggle($context.richTextEditorEnabled))
|
||||
|
||||
ListRow(label: .default(title: L10n.actionViewSource, systemIcon: .mailAndTextMagnifyingglass),
|
||||
kind: .toggle($context.viewSourceEnabled))
|
||||
}
|
||||
}
|
||||
.compoundList()
|
||||
|
||||
Reference in New Issue
Block a user