Disable RR extension when feature flag is off (#1068)

* disable rr extension according to ff

* fixed typos in the code
This commit is contained in:
Mauro
2023-06-12 12:59:01 +02:00
committed by GitHub
parent 0f358a6b2d
commit 94c97ec7e9
2 changed files with 8 additions and 2 deletions
@@ -39,6 +39,7 @@ struct DeveloperOptionsScreen: View {
Toggle(isOn: $context.readReceiptsEnabled) {
Text("Show read receipts")
Text("requires app reboot")
}
.onChange(of: context.readReceiptsEnabled) { _ in
context.send(viewAction: .changedReadReceiptsEnabled)