Add next gen HTML parser feature flag

This commit is contained in:
Stefan Ceriu
2025-08-19 14:57:45 +03:00
committed by Doug
parent addfaf67cc
commit 530810354d
3 changed files with 13 additions and 2 deletions
@@ -52,6 +52,8 @@ protocol DeveloperOptionsProtocol: AnyObject {
var fuzzyRoomListSearchEnabled: Bool { get set }
var lowPriorityFilterEnabled: Bool { get set }
var knockingEnabled: Bool { get set }
var nextGenHTMLParserEnabled: Bool { get set }
}
extension AppSettings: DeveloperOptionsProtocol { }
@@ -36,9 +36,14 @@ struct DeveloperOptionsScreen: View {
Toggle(isOn: $context.threadsEnabled) {
Text("Threads")
}
Toggle(isOn: $context.spacesEnabled) {
Text("Spaces")
}
Toggle(isOn: $context.nextGenHTMLParserEnabled) {
Text("Next gen HTML parsing")
}
}
Section("Room List") {