Guard user suggestions behind feature flag so that they don't impact releasability of other room creation features (#770)

This commit is contained in:
Johannes Marbach
2023-04-06 15:32:49 +02:00
committed by GitHub
parent 0911f9ba89
commit f368da3485
7 changed files with 34 additions and 10 deletions
@@ -37,6 +37,13 @@ struct DeveloperOptionsScreen: View {
context.send(viewAction: .changedStartChatFlowEnabled)
}
Toggle(isOn: $context.startChatUserSuggestionsEnabled) {
Text("Start chat user suggestions")
}
.onChange(of: context.startChatUserSuggestionsEnabled) { _ in
context.send(viewAction: .changedStartChatUserSuggestionsEnabled)
}
Toggle(isOn: $context.mediaUploadFlowEnabled) {
Text("Show Media Uploading flow")
}