mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Store and restore drafts (#2898)
This commit is contained in:
+1
@@ -46,6 +46,7 @@ enum DeveloperOptionsScreenViewAction {
|
||||
protocol DeveloperOptionsProtocol: AnyObject {
|
||||
var logLevel: TracingConfiguration.LogLevel { get set }
|
||||
var hideUnreadMessagesBadge: Bool { get set }
|
||||
var draftRestoringEnabled: Bool { get set }
|
||||
var elementCallBaseURL: URL { get set }
|
||||
}
|
||||
|
||||
|
||||
+6
@@ -32,6 +32,12 @@ struct DeveloperOptionsScreen: View {
|
||||
Text("Hide grey dots")
|
||||
}
|
||||
}
|
||||
|
||||
Section("Room") {
|
||||
Toggle(isOn: $context.draftRestoringEnabled) {
|
||||
Text("Allow drafts to be restored")
|
||||
}
|
||||
}
|
||||
|
||||
Section("Element Call") {
|
||||
TextField(context.elementCallBaseURL.absoluteString, text: $elementCallBaseURLString)
|
||||
|
||||
Reference in New Issue
Block a user