Hide timeline style selection (#2968)

This commit is contained in:
Mauro
2024-06-26 12:42:12 +02:00
committed by GitHub
parent 82823c94ce
commit 342cfc0d3f
9 changed files with 9 additions and 22 deletions
@@ -38,7 +38,6 @@ struct AdvancedSettingsScreenViewStateBindings {
enum AdvancedSettingsScreenViewAction { }
protocol AdvancedSettingsProtocol: AnyObject {
var timelineStyle: TimelineStyle { get set }
var viewSourceEnabled: Bool { get set }
var appAppearance: AppAppearance { get set }
var sharePresence: Bool { get set }
@@ -27,10 +27,6 @@ struct AdvancedSettingsScreen: View {
kind: .picker(selection: $context.appAppearance,
items: AppAppearance.allCases.map { (title: $0.name, tag: $0) }))
ListRow(label: .plain(title: L10n.commonMessageLayout),
kind: .picker(selection: $context.timelineStyle,
items: TimelineStyle.allCases.map { (title: $0.name, tag: $0) }))
ListRow(label: .plain(title: L10n.actionViewSource),
kind: .toggle($context.viewSourceEnabled))