Enable room list invites by default and remove old code paths

This commit is contained in:
Stefan Ceriu
2024-05-09 12:05:28 +03:00
committed by Stefan Ceriu
parent 65310acc64
commit a401976b2b
60 changed files with 27 additions and 1155 deletions
@@ -50,7 +50,6 @@ protocol DeveloperOptionsProtocol: AnyObject {
var elementCallBaseURL: URL { get set }
var publicSearchEnabled: Bool { get set }
var qrCodeLoginEnabled: Bool { get set }
var roomListInvitesEnabled: Bool { get set }
}
extension AppSettings: DeveloperOptionsProtocol { }
@@ -31,11 +31,6 @@ struct DeveloperOptionsScreen: View {
Toggle(isOn: $context.hideUnreadMessagesBadge) {
Text("Hide grey dots")
}
Toggle(isOn: $context.roomListInvitesEnabled) {
Text("Room list invites")
Text("Requires app reboot and, after disabling the feature, a cache clear.")
}
}
Section("Room Directory Search") {