mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Add a feature flag for User Status.
This commit is contained in:
+1
@@ -72,6 +72,7 @@ protocol DeveloperOptionsProtocol: AnyObject {
|
||||
var jumpToReadMarkerEnabled: Bool { get set }
|
||||
|
||||
var linkNewDeviceEnabled: Bool { get set }
|
||||
var userStatusEnabled: Bool { get set }
|
||||
|
||||
var roomThreadListEnabled: Bool { get set }
|
||||
|
||||
|
||||
+4
@@ -54,6 +54,10 @@ struct DeveloperOptionsScreen: View {
|
||||
Text("Moves search to a separate tab")
|
||||
}
|
||||
|
||||
Toggle(isOn: $context.userStatusEnabled) {
|
||||
Text("User status")
|
||||
}
|
||||
|
||||
context.viewState.appHooks
|
||||
.developerOptionsScreenHook
|
||||
.generalSectionRows()
|
||||
|
||||
Reference in New Issue
Block a user