mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Add a feature flag for automatic back pagination. (#5445)
This commit is contained in:
+1
@@ -55,6 +55,7 @@ protocol DeveloperOptionsProtocol: AnyObject {
|
||||
var enableKeyShareOnInvite: Bool { get set }
|
||||
var hideQuietNotificationAlerts: Bool { get set }
|
||||
var focusEventOnNotificationTap: Bool { get set }
|
||||
var automaticBackPaginationEnabled: Bool { get set }
|
||||
|
||||
var hideUnreadMessagesBadge: Bool { get set }
|
||||
var elementCallBaseURLOverride: URL? { get set }
|
||||
|
||||
+6
@@ -67,6 +67,11 @@ struct DeveloperOptionsScreen: View {
|
||||
Toggle(isOn: $context.lowPriorityFilterEnabled) {
|
||||
Text("Low priority filter")
|
||||
}
|
||||
|
||||
Toggle(isOn: $context.automaticBackPaginationEnabled) {
|
||||
Text("Automatic back pagination")
|
||||
Text("Requires app reboot")
|
||||
}
|
||||
}
|
||||
|
||||
Section("Room") {
|
||||
@@ -135,6 +140,7 @@ struct DeveloperOptionsScreen: View {
|
||||
Text("Hide quiet alerts")
|
||||
Text("The badge count will still be updated")
|
||||
}
|
||||
|
||||
Toggle(isOn: $context.focusEventOnNotificationTap) {
|
||||
Text("Focus event on notification tap")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user