mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
added an FF for the floating date
This commit is contained in:
+2
@@ -69,6 +69,8 @@ protocol DeveloperOptionsProtocol: AnyObject {
|
||||
var linkNewDeviceEnabled: Bool { get set }
|
||||
|
||||
var liveLocationSharingEnabled: Bool { get set }
|
||||
|
||||
var floatingTimelineDateEnabled: Bool { get set }
|
||||
}
|
||||
|
||||
extension AppSettings: DeveloperOptionsProtocol { }
|
||||
|
||||
+5
@@ -80,6 +80,11 @@ struct DeveloperOptionsScreen: View {
|
||||
Toggle(isOn: $context.liveLocationSharingEnabled) {
|
||||
Text("Live location sharing")
|
||||
}
|
||||
|
||||
Toggle(isOn: $context.floatingTimelineDateEnabled) {
|
||||
Text("Floating timeline date")
|
||||
Text("Shows a floating date badge while scrolling the timeline.")
|
||||
}
|
||||
}
|
||||
|
||||
Section("Join rules") {
|
||||
|
||||
Reference in New Issue
Block a user